Skip to content

Instantly share code, notes, and snippets.

@spatil05
Created April 27, 2016 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spatil05/912673e70e7f5ca2f62a585cbf4c04c5 to your computer and use it in GitHub Desktop.
Save spatil05/912673e70e7f5ca2f62a585cbf4c04c5 to your computer and use it in GitHub Desktop.
Get-ADGroupMember -Identity 'HR_and_Finance' -Credential <Manager_username> -Recursive -Server msp.lan | Format-table -Property name >> C:\Scripts\Gromembers.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment