学习自: 徐鹏老师的 AD Powershell 系列视频课程 把 Lab 下的用户全部删除 Get-ADUser -Filter * -SearchBase "ou=Lab,dc=satid,dc=com" | foreach{Remove-ADUser -identity $_.Name -Confirm:$false} 删除表中包含的用户 转载于:https://blog.51cto.com/zhaodongwei/1963700 相关文章: 2022-02-09 2022-01-17 2021-11-11 2021-12-18 2021-09-14 2022-01-20 2021-12-05