Find the Owner of a Group in Windows PowerShell
Problem
You want to get the owner of a security or distribution group.
Solution
To determine the owner of a group, use the [adsi] type shortcut to bind to the group in Active Directory, and then retrieve the ManagedBy property: $group = [adsi] "LDAP://localhost:389/cn=Management,ou=West,ou=Sales,dc=Fabrikam,dc=COM"
$group.ManagedBy
Discussion
- Read more about Find the Owner of a Group in Windows PowerShell
- Log in or register to post comments