获取职位为“总经理”的用户清单
Get-ADObject-LDAPfilter "(Title=总经理)" -Properties * | selectSamAccountName,name,displayname,EmailAddress,Title | Export-Csvd:\huangjh\Manager.csv -NoTypeInformation -Encoding utf8
本文出自 “黄锦辉专栏” 博客,谢绝转载!
原文:http://stephen1991.blog.51cto.com/8959108/1744789