I added an AD security group in a sharepoint site. I want to list the users in this group. I want to do this in SP server instead of AD. Have anyone done this before? Could this be achieved through powershell? Please kindly advice.
You can use below commands: Replace the asterisk (*) with the Security Group
Display on Screen:
Get-ADGroupMember -identity "*" | Select Name
Export to CSV:
Get-ADGroupMember -identity "*" | Select Name | Export-CSV -Path C:\Windows\Temp\SecurityGroups.csv -NoTypeInformation