Pages

3/27/2011

Powershell: List the members of a group


$root=([ADSI]"").distinguishedName
$Group = [ADSI]("LDAP://CN=Domain Admins,CN=Users,"+$root)
$Group.member

No comments: