Skip to content

Instantly share code, notes, and snippets.

@RichardHan
Created December 29, 2016 09:27
Show Gist options
  • Select an option

  • Save RichardHan/1c2b99a5ac9ab1d7593ee6c761cc261b to your computer and use it in GitHub Desktop.

Select an option

Save RichardHan/1c2b99a5ac9ab1d7593ee6c761cc261b to your computer and use it in GitHub Desktop.

Revisions

  1. RichardHan created this gist Dec 29, 2016.
    5 changes: 5 additions & 0 deletions Get_AD_user_via_powershell.ps1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    Import-Module ServerManager

    Add-WindowsFeature RSAT-AD-PowerShell

    Get-ADUser "user_name" -Properties *