Get-ADgroupmember -identity “Group Name” | get-aduser -property displayname | select name, displayname


Get-ADgroupmember -identity “AD group name” | get-aduser -property displayname | select name, displayname >C:\temp\result.txt