I often need to get information on a user in Active Directory but I don’t have time to scroll through multiple clicks and windows to get there.

Here are two great quick commands to get all the information you need for just one user in Active Directory. The username for both will be “JSmith”.

The first command dump’s all the user’s information.

Get-ADUser -Identity JSmith -Properties *

The second command dump’s all the Active Directory Groups the user is a member of.

Get-ADPrincipalGroupMembership JSmith

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Category

Computer Stuff

Tags