在powershell中,导出指定OU下的子OU列表 Get-ADOrganizationalUnit -Filter 'Name -like "*"' -SearchBase 'OU=人力资源部,OU=天津公司,DC=tianjin,DC=com'|Format-Table Name, DistinguishedName -A |Out-file C:\OU_List.csv -Encoding UTF8