Get-ADGroupmember - Powershell command to export AD Security group members

 


Get-ADGroupmember -Identity "Administrators" -Server "appcorp.ca" | Select name, samaccountname | export-csv c:\Temp\Administrators_Admins.csv

Comments

Popular posts from this blog

Copy file to multiple remote server using powershell