In AD how to get groups the workstation is a member of from the workstation itself?
- by David
If I'm at the domain controller (in the Active Directory) to find out what groups the "XPSP3-A" workstation is a member of, I do:
dsquery computer "CN=XPSP3-A,CN=Computers,DC=pvk,DC=local" -name XPSP3-A | dsget computer -memberof
and receive the following:
"CN=Sec Group 001,OU=OU1,DC=pvk,DC=local"
"CN=Domain Computers,CN=Users,DC=pvk,DC=local"
But how to do the same from the "XPSP3-A" workstation?