Gets an identity's privileges.
Get-Privilege [-Identity] <String> [<CommonParameters>]
These privileges are usually managed by Group Policy and control the system operations and types of logons a user/group can perform.
Note: if a computer is not on a domain, this function won't work.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Identity | String | The identity whose privileges to return. |
true | false |
Get-Privilege -Identity TheBeast
Gets TheBeast
's privileges as an array of strings.