Remove deactivated User from Groups Get-ADGroupMember -Identity “GruppeA” | Get-ADUser | Where-Object {$.Enabled -eq $False} | ForEach-Object {Remove-ADGroupMember -Identity “GruppeA” -Members $ -Confirm:$False}
WeiterlesenRemove deactivated User from Groups Get-ADGroupMember -Identity “GruppeA” | Get-ADUser | Where-Object {$.Enabled -eq $False} | ForEach-Object {Remove-ADGroupMember -Identity “GruppeA” -Members $ -Confirm:$False}
Weiterlesen