(imported topic written by RobertDiRosato)
Hello,
I’m a noob to BigFix and was wondering if someone could help me out.
I want to see if MYDOMAIN\Domain Admins is a member of the Local Admins group on windows.
If there display YES else NO
I found this code which will list all the local admins which is neat but doesn’t help me out.
if ((it contains “Win” AND it != “Win98” AND it != “WinME”) of name of operating system AND version of regapp “BESClient.exe” >= “6” AND exists local group “Administrators”) then (members of local group “Administrators” as string) else “Unsupported Configuration”
Thanks in advance for your help