Link to home
Start Free TrialLog in
Avatar of amendala
amendala

asked on

WMI "Select" query for a local user account that EXISTS?

I am seeking a WMI "select" query that I can use to determine whether or not a local user account on a workstation exists.

For instance, a query that would evaluate TRUE if the local account "JohnDoe" existed.  This query would be used for targeting GPOs and Group Policy Preferences.

Any help is appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amendala
amendala

ASKER

That works!