Command

Get-ADUser -Identity franklogan -Properties *

First you need to install the active directory module. Below are two ways go add AD to PowerShell.

Adding PowerShell module

or

Add-WindowsFeature RSAT-AD-PowerShell

Once the RSAT tools are installed we are ready to use powershell to interact with AD

Command Breakdown

Get-ADUser access user accounts listed within your give domain.
-identity specifies the object searched within AD
-properties * is a wildcard that specifies return all information associated with the user.



Leave a Reply

Your email address will not be published. Required fields are marked *