Command
Get-ADUser -Identity
franklogan
-Properties *
First you need to install the active directory module. Below are two ways go add AD to PowerShell.
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.