Current user not starting with?

Hi All,

I have an analysis relevant to our entire Windows fleet. I am wanting one of the properties in this analysis to list any instances where there is a user logged onto the console whose username does not start with admin.

Currently just using the following;

name of current user

Works well, however I really just want to report on users logged into the console with usernames not starting with admin .

Any suggestions?

As usual, think of how to do it almost immediately after posting…

(if exists current user then name of current user else error "No User") whose (it as string as lowercase does not contain "admin" as lowercase)

Alternatively, this should also work.

exists current users whose (name of it as lowercase does not contain "admin")