Hi,
here are the code snippets to list all members of an Active Directory Group.
Some constants
1 2 3 4 | # Define LDAP search root, the Global catalog of the domain $sLDAPSearchRoot = "LDAP://yourDomain.com:3268" # The Groupname to looking for $sGroupName = "USR_GRP_IN_AD" |
Continue reading Powershell: List members of an Active Directory Group