Windows XP/7 Command line command to list current user's AD group membership.

GlendaleGurus
GlendaleGurus used Ask the Experts™
on
Is there a command to use in Windows XP/7 that will list the current users AD group membership? We use >net localgroup to list local group membership.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
You can use AdFind : http://www.joeware.net/freetools/tools/adfind/
AdFind.exe -default -f name="Domain Admins" member -list
open command windows and type the command "whoami /groups or whoami /all". This will show you details user belongs group information.

Author

Commented:
Thank you very much that was exactly what i was looking for.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial