Powershell 删除ad 组成员
Remove-ADGroupMember -Identity "CN-SHAFNP2-FS-ADM-RW" -Members "lzhang" -Confirm:$false
"CN-SHAFNP2-FS-ADM-RW"组名字
"lzhang" 要删除的用户名
-Confirm:$false 确认删除参数,不加的话每次都弹出来问你是否确认。
Remove-ADGroupMember -Identity "CN-SHAFNP2-FS-ADM-RW" -Members "lzhang" -Confirm:$false