I have a list of users that I need to turn into a list of computers immediately. While I would normally base this on an AD Group and wait for it to populate, I need to push an action immediately. Is there a good way to take a list of users and turn it into a list of their associated computers?
exists true whose (if true then (not exists (if exists true whose (if true then exists logged on user else false) then names of logged on users else if exists current user then name of current user else "<none>") whose (it as string as lowercase contains "ejackson" as lowercase)) else false))
But I have a list of 60 users and it is very tedious to do it this way. Can I comma seperate the usernames in this manner?