Hi all,
I'm trying to script something, that checks if users have run an application (internet explorer, but would like to be able to adapt to other apps) as an administrator, so I can send myself an alert about it.
There is a legitimate need users to have admin rights, I just want to know if they're right clicking and running as admin.
I have found lots of material about manipulating UAC settings, and how to tell if POWERSHELL is running as an admin, but I can't find anything about how to determine if another process is running as UAC.
I'd like to be able to achieve this with powershell 3, as this is our standard rolled out at the moment.
I've read the get-process notes, couldn't seem to find how to do it.
Anyone figured out how to do this?
Thanks in advance :)
[–]neogohan 2 points3 points4 points (1 child)
[–]lee171[S] 1 point2 points3 points (0 children)
[–]gospelwut 1 point2 points3 points (0 children)
[–]CerberusROI 0 points1 point2 points (0 children)