Get-Privilege

Gets an identity's privileges.

Syntax

Get-Privilege [-Identity] <String> [<CommonParameters>]

Description

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.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Identity String

The identity whose privileges to return.

true false

Return Values

System.String.

EXAMPLE 1

Get-Privilege -Identity TheBeast

Gets TheBeast's privileges as an array of strings.