remove debugging print
parent
bc949a8ae4
commit
264863b7bc
|
@ -11242,7 +11242,6 @@ function Invoke-FindManagedSecurityGroups {
|
|||
|
||||
# Find the ACLs that relate to the ability to write to the group
|
||||
$xacl = Get-ObjectAcl -ADSPath $_.distinguishedname -Rights WriteMembers
|
||||
$xacl
|
||||
|
||||
# Double-check that the manager
|
||||
if ($xacl.ObjectType -eq 'bf9679c0-0de6-11d0-a285-00aa003049e2' -and $xacl.AccessControlType -eq 'Allow' -and $xacl.IdentityReference.Value.Contains($group_manager.samaccountname)) {
|
||||
|
|
Loading…
Reference in New Issue