How can I use the command prompt (cmd.exe) to check if a process is running with UAC elevation / elevated privileges?
If I were to use the Task Manager (taskmgr.exe), I could check by adding the "UAC Virtualization" or, on Windows 8, the "Elevated" column. (This article explains it pretty well.)
But can I get this information via the command prompt, e.g. with tasklist or wmic? Are there any other command line tools built into Windows that allow me to check the elevation status?
My question applies to all Windows OS with UAC.