I have been trying to get a list of members to an AD Security Group. I have tried every combination I can think of but nothing is working. It all comes back with no results. I think the problem is that my group name has (BCC) in it. For example the group name is “Family members - including non clients (BCC)”. I am trying to export the list of active directory members to this group to a csv file. I have used get-adgroup and piped that into get-adgroupmember and piped that into export-csv. I have used get-adgroupmember in many different combination. I have also used a couple of my commands with a different group and it gives me a partial list of members for that group. I have aslo tried get-adgroup -Identity “GUID”
I have used as simple of cmds as 'Get-ADGroupmember -identity “Family Members - Including Non Clients (BCC Only)” ’ Just to get the list to display on the screen and that didn’t even work. It did not give me an error but it did not return any results either.
I am totally out of ideas. Anyone can help that would be great.