#Get all the groups in the current domain Get-DomainGroup Get-DomainGroupMember -Name "Domain Admins"

#Get all the members of the Domain Admins group Get-NetGroupMember -GroupName "Domain Admins" Get-NetGroupMember -GroupName "Domain Admins" -Recurse

#Get all domains Get-Domain Get-DomainOU Get-NetGroupMember -GroupName "Enterprise Admins" -Domain <domain name here>

#Get the group membership for a user: Get-DomainGroup –UserName "student1"