(imported topic written by SATO91)
Hi,
I’d like to list the members of the local group “Administrators” and then filter out a group that I know exist on all machines and that shouldn’t be listed in the results.
Q:
members of local group “Administrators”
A: (for SERVER_A)
SERVER_A\Administrator
CORP\Domain Admins
CORP\Finance Admins
CORP\Finance Consultants
CORP\JohnB
CORP\SallyJ
A: (for SERVER_F)
SERVER_F\Administrator
CORP\Domain Admins
CORP\Marketing Admins
CORP\Reviewer Consultants
CORP\JohnB
CORP\TimL
CORP\PatricU
Is there a way where I can filter the result to only display users and groups from the CORP domain but to rule out Domain Admins (that I know exist on all my servers)?
I’ve tried
Q: members of local group “Administrators” whose (name of it “CORP\Domain Admins”)
…and various other questions, but I’m unable to filter the results.
I hope someone can point me in the right direction. Thanks!
//Samir