Revoke-Privilege

Revokes an identity's priveleges to perform system operations.

Syntax

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

Description

The most current list of privileges can be found on Microsoft's website. Here is the most current list, as of November 2012:

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Identity String The identity to grant a privilege. true false
Privilege String[] The privileges to grant. true false

EXAMPLE 1

Revoke-Privilege -Identity Batcomputer -Privilege SeServiceLogonRight

Revokes the Batcomputer account's ability to logon as a service. Don't restart that thing!