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

Get-ADgroupmembers, 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

Join the conversation