Skip to content

Instantly share code, notes, and snippets.

@RichardHan
Created December 29, 2016 09:27
Show Gist options
  • Save RichardHan/1c2b99a5ac9ab1d7593ee6c761cc261b to your computer and use it in GitHub Desktop.
Save RichardHan/1c2b99a5ac9ab1d7593ee6c761cc261b to your computer and use it in GitHub Desktop.
Get AD user via powershell
Import-Module ServerManager
Add-WindowsFeature RSAT-AD-PowerShell
Get-ADUser "user_name" -Properties *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment