Get not administrator user from administrators group

(imported topic written by EpsilonR)

Hi ,

Does anyone know how to get user from administrators group and exclude administrator

and

I used this (((members of it ) of local groups whose (name of it as lowercase is “Administrators” as lowercase )) ) to get user in administrators group.

Thanks!

(imported comment written by jgstew)

(members whose(it as string does not contain “\Administrator”) of local group “administrators”)

See here:
http://bigfix.me/analysis/details/2994547

Reference:
http://support.bigfix.com/inspectors/Authorization%20Objects_Win.html#local%20group%20member

Related:

“Current User Info” -
http://bigfix.me/analysis/details/2994586

“Inactive Users” -
http://bigfix.me/analysis/details/2994557