Reputation: 919
There's some equivalent in Windows to sudo -l. I know that the equivalent is runas but I need to see all the things that can be done as admin. Thank you
PD: I have to run it from the CMD.
Upvotes: 1
Views: 8956
Reputation: 307
From the command line, you can use the following option:
runas /showtrustlevels
I think this could be somehow comparable to sudo -l
on Linux.
This runas command reference page contains some more details.
Upvotes: 1
Reputation: 327
Locate the CMD.exe
and right click it, then click "Run as Administrator".
There is a example for Windows 10:
and a example for Windows 7:
Upvotes: 0