Get All The Information About Just One Active Directory Account Using Powershell

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

Categories: PowerShell ScriptsTags:

I want to hear what you have to say

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

You are commenting using your 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

%d bloggers like this: