把 Lab 下的用户全部禁用 Get-ADUser -Filter * -SearchBase "ou=Lab,dc=satid,dc=com" | Disable-ADAccount 转载于:https://blog.51cto.com/zhaodongwei/1963696