把 Lab 下的用户全部删除
Get-ADUser -Filter * -SearchBase "ou=Lab,dc=satid,dc=com" | foreach{Remove-ADUser -identity $_.Name -Confirm:$false}
本文出自 “赵东伟的博客” 博客,请务必保留此出处http://zhaodongwei.blog.51cto.com/4233742/1963700
原文:http://zhaodongwei.blog.51cto.com/4233742/1963700