Skip to content

Commit 19f6788

Browse files
committed
Add missing param
1 parent 95a14e8 commit 19f6788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AD-GROUP-Monitor_MemberShip/AD-GROUP-Monitor_MemberShip.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ PROCESS {
577577
IF ($_.SideIndicator -eq "=>") { "Removed" }
578578
ELSE { "Added" }
579579
}
580-
}, DisplayName, Name, SamAccountName, DN | Where-Object { $_.name -notlike "*no user or group*" }
580+
}, DisplayName, Name, SamAccountName, DN | Where-Object -FilterScript { $_.name -notlike "*no user or group*" }
581581
Write-Verbose -Message "[PROCESS] $item - Compare Block Done !"
582582

583583
<# Troubleshooting

0 commit comments

Comments
 (0)