0

We have a security group, SQL DBA. I need to know all servers that are part of this group. Is this possible? I'm a backup admin, just starting to learn AD/Windows, so apologize if its a stupid question.

Thanks Avinash

6
  • This should be a fairly straightforward operation to look-up in the manual. I'm surprised you didn't find any examples out there. Feb 4, 2016 at 11:27
  • Hi XCondE, im not looking for the list of members, but all the servers this group is added as an administrator Feb 4, 2016 at 11:35
  • Oh gotcha. I misinterpreted your question. If other people can understand it then never mind me :) Feb 4, 2016 at 11:46
  • Do I understand this correctly: you want to look for every server, if the SQL DBA-Security group is listed in the local administrators group of the server?
    – SimonS
    Feb 4, 2016 at 13:53
  • 1
    Poss duplicate serverfault.com/questions/648506/… Following the links in that question will get to gallery.technet.microsoft.com/scriptcenter/… which a function for this exact purpose
    – Drifter104
    Feb 4, 2016 at 17:34

1 Answer 1

0

You can use the powershell cmdlet get-adgroupmember to get the members of a group.

Get-ADGroupMember -Identity 'Your Group'

Maybe pipe this to Select-Object Name for a more human-readable list.

Get-Command can be useful for finding commands. You can even filter by powershell module (discoverable via Get-Module).

1
  • Hi IsAGuest, im not looking for the list of members, but all the servers this group is added as an administrator. Feb 4, 2016 at 11:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .