One of my team members included this in an analysis and I found out today that it has a long evaluation time.
Anyone able to give some tips to make this more efficient?
(name of it,(concatenation "|" of names of items 1 of (sid of it, local groups) whose (exists (item 0 of it as string as lowercase, members of item 1 of it as string as lowercase) whose (item 0 of it = item 1 of it))), last logon of it as string |"Never", logon count of it, account disabled flag of it, password expiration disabled flag of it, password change disabled flag of it ) of local users
q: (name of it,(concatenation "|" of names of items 1 of (sid of it, local groups) whose (exists (item 0 of it as string as lowercase, members of item 1 of it as string as lowercase) whose (item 0 of it = item 1 of it))), last logon of it as string |"Never", logon count of it, account disabled flag of it, password expiration disabled flag of it, password change disabled flag of it ) of local users
A: redacted, redacted, Never, 0, True, True, True
A: redacted, redacted, Never, 0, True, True, False
A: redacted, redacted, ( redacted ), 15, False, True, False
A: redacted, , Never, 0, True, False, False
T: 551.403 ms
I: plural ( string, string, string, integer, boolean, boolean, boolean )
Thanks for any help you provide.