PoshPrivilege
PoshPrivilege copied to clipboard
Using -CurrentUser on Windows 10 1903 and PoSH 5.1 throws an error
Get-Privilege -CurrentUser
Privilege Description Enabled
--------- ----------- -------
SeIncreaseQuotaPrivilege Adjust memory quotas for a process False
SeSecurityPrivilege Manage auditing and security log False
SeTakeOwnershipPrivilege Take ownership of files or other objects False
SeLoadDriverPrivilege Load and unload device drivers False
SeSystemProfilePrivilege Profile system performance False
SeSystemtimePrivilege Change the system time False
SeProfileSingleProcessPrivilege Profile single process False
SeIncreaseBasePriorityPrivilege Increase scheduling priority False
SeCreatePagefilePrivilege Create a pagefile False
SeBackupPrivilege Back up files and directories False
SeRestorePrivilege Restore files and directories False
SeShutdownPrivilege Shut down the system False
SeDebugPrivilege Debug programs True
SeSystemEnvironmentPrivilege Modify firmware environment values False
SeChangeNotifyPrivilege Bypass traverse checking True
SeRemoteShutdownPrivilege Force shutdown from a remote system False
SeUndockPrivilege Remove computer from docking station False
SeManageVolumePrivilege Perform volume maintenance tasks False
SeImpersonatePrivilege Impersonate a client after authentica... True
SeCreateGlobalPrivilege Create global objects True
SeIncreaseWorkingSetPrivilege Increase a process working set False
SeTimeZonePrivilege Change the time zone False
SeCreateSymbolicLinkPrivilege Create symbolic links False
GetPrivilegeDisplayName : Cannot process argument transformation on parameter 'Privilege'. Cannot convert value
"SeDelegateSessionUserImpersonatePrivilege" to type "Privileges". Error: "Unable to match the identifier name
SeDelegateSessionUserImpersonatePrivilege to a valid enumerator name. Specify one of the following enumerator names
and try again:
SeAssignPrimaryTokenPrivilege, SeAuditPrivilege, SeBackupPrivilege, SeBatchLogonRight, SeChangeNotifyPrivilege,
SeCreateGlobalPrivilege, SeCreatePagefilePrivilege, SeCreatePermanentPrivilege, SeCreateSymbolicLinkPrivilege,
SeCreateTokenPrivilege, SeDebugPrivilege, SeImpersonatePrivilege, SeIncreaseBasePriorityPrivilege,
SeIncreaseQuotaPrivilege, SeInteractiveLogonRight, SeLoadDriverPrivilege, SeLockMemoryPrivilege,
SeMachineAccountPrivilege, SeManageVolumePrivilege, SeNetworkLogonRight, SeProfileSingleProcessPrivilege,
SeRemoteInteractiveLogonRight, SeRemoteShutdownPrivilege, SeRestorePrivilege, SeSecurityPrivilege,
SeServiceLogonRight, SeShutdownPrivilege, SeSystemEnvironmentPrivilege, SeSystemProfilePrivilege,
SeSystemtimePrivilege, SeTakeOwnershipPrivilege, SeTcbPrivilege, SeTimeZonePrivilege, SeUndockPrivilege,
SeDenyNetworkLogonRight, SeDenyBatchLogonRight, SeDenyServiceLogonRight, SeDenyInteractiveLogonRight,
SeSyncAgentPrivilege, SeEnableDelegationPrivilege, SeDenyRemoteInteractiveLogonRight, SeTrustedCredManAccessPrivilege,
SeIncreaseWorkingSetPrivilege"
At C:\Program Files\WindowsPowerShell\Modules\PoshPrivilege\0.3.0.0\Scripts\Get-Privilege.ps1:166 char:70
+ ... Description = GetPrivilegeDisplayName -Privilege $PrivilegeName
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [GetPrivilegeDisplayName], ParameterBindingArgumentTransformationExcept
ion
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,GetPrivilegeDisplayName
SeCreateSymbolicLinkPrivilege Create symbolic links False