AD离职(禁用)用户移至指定OU Search-ADAccount -AccountDisabled -SearchBase "OU=南京,DC=free,DC=com" | Move-ADObject -TargetPath "OU=离职人员,OU=南京,DC=free,DC=com"