Quantcast
Viewing all articles
Browse latest Browse all 21975

Get groupmembers of groups in AD

I need to get the member of groups, When i see the properties of a group in AD, there are two tabs, one is Members and other one is MemberOf. I want the information their in MemberOf tab for a particular group.

The below codes works but it gives me a list of members. Not the MemberOf information.

$group = 'kozos'
$Domain = 'kozos.com'
import-module activedirectory
$groupmember =get-adgroupmember $group -Server $Domain
$groupmember 





Viewing all articles
Browse latest Browse all 21975

Trending Articles