Useful Windows commands for finding information on Active Directory groups and users. Get a list of groups on the domain net group /domain List groups your current user belongs to whoami /groups List group policy information for the current user gpresult /V List groups and other details for any given user. net user TheUser /domain List all users that are members of a given group net group MyGroup /domain View information for a specific computer on the network. net view Hostname /domain
Another way to get details information about groups that a user belongs to:
gpresult /user TheUser /v