Doesn't appear to be working

Sep 18, 2014 at 12:22 AM
Attempting to test this on Server 2012R2 and I get no information back
PS C:> Get-UserRight -Account "Domain\pinel-admin"
PS C:>
I have admin rights on this machine but do not have explicit rights on any files in that everything is inherited through group membership. Not sure if this is a contributing factor. I have also tried with an elevated PS environment.
Another good addition, if we can get the basics working on 2012R2, would be the ability to query network shares.
At this point I am about to start a script to do much of this for me as I have been unable to find any modules that work in an enterprise environment
Feb 27, 2015 at 9:53 PM
This module does not take group membership into account. Only explicitly assigned user rights are exported like:

PS C:> Get-UserRight -Account "builtin\administrators"

Right ComputerName Accounts

SeSecurityPrivilege RAANDREE1 BUILTIN\Administrators
SeBackupPrivilege RAANDREE1 BUILTIN\Administrators
SeRestorePrivilege RAANDREE1 BUILTIN\Administrators
SeSystemtimePrivilege RAANDREE1 BUILTIN\Administrators
SeShutdownPrivilege RAANDREE1 BUILTIN\Administrators