Is there a way to search for AD-Users with their DistinguishedName?
Im working on a Reporting script which scans for all groups and exports to csv. Now my problem is when i access "MemberOF" from Get-ADGroup properties im only getting distinguished names and they are not so nice to read.
See the Get-ADUser documentation and the -SearchBase
or -Filter
parameters. (Examples 1 & 2)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.