Powershell – How to get a user’s privileges

powershellwindows-server-2008

I can get the logged in user's privileges in powershell like so:

whoami /priv

How do I do this for a user I'm not logged in as?

Best Answer

This might answer for your question.

http://technet.microsoft.com/en-us/sysinternals/bb664922

Via AccessChk, you should be able to view all users and their associated rights on that 2008 Server. (Sysinternals)