Local Admin RP Modified

(imported topic written by wnolan91)

I would like to modify the below to exclude specific Members. The Not Contains does not seem to work. Any help would be great. For example I only want Accounts that start with “Domain” or I don’t want anything that starts with {Computer Name}\

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

Bill

(imported comment written by BenKus)

How about this?

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 whose (it as string as lowercase does not start with (computer name as string as lowercase)) of local group “Administrators” as string) else “Unsupported Configuration”

Ben