Your network contains an Active Directory domain named contoso.com. The domain
contains hundreds of groups, many of which are nested in other groups.
The domain contains a user account named user1.User1 is a direct member of 15 groups.
You need to identify of which Active Directory groups User1 is a member, including the
nested groups. The solution must minimize administrative effort.
Which tool should you use?
A.
Active Directory Users and Computers
B.
ADSI Edit
C.
Get-ADUser
D.
Dsget
Explanation:
http://technet.microsoft.com/en-us/library/cc732535.aspx
dsget user -memberof
0
0
more like dsquery user -name “User” | dsget user -memberof
PowerShell equivalent is Get-ADPrincipalGroupMembership
0
0
I Agree with simo. From link in explanation:
”
To show the list of groups, recursively expanded, to which the user Mike Danseglio belongs, type:
dsget user “CN=Mike Danseglio,CN=users,dc=ms,dc=tld” -memberof -expand
“
0
0