Gets the privileges and identity has to perform system operations.
Get-Privileges [-Identity] <String> [<CommonParameters>]
These privileges are usually managed by Group Policy.
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-Privileges -Identity TheBeast
Gets TheBeast's privileges as an array of strings.