< Back
Resolve-UserRight
Post
NAME Resolve-UserRight
SYNOPSIS
Resolves the name of a user right as shown in the local security policy editor to its constant name.
SYNTAX
Resolve-UserRight [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Resolves the name of a user right as shown in the local security policy editor to its constant name.
PARAMETERS
-Name <String>
The name or description of a user right. Wildcards are supported for description values.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Resolve-UserRight "Generate security audits"
Returns the value SeAuditPrivilege.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Resolve-UserRight "*batch*"
Returns SeBatchLogonRight and SeDenyBatchLogonRight via the description.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Resolve-UserRight SeBatchLogonRight
Returns the name and description of the user right.
RELATED LINKS
SYNOPSIS
Resolves the name of a user right as shown in the local security policy editor to its constant name.
SYNTAX
Resolve-UserRight [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
Resolves the name of a user right as shown in the local security policy editor to its constant name.
PARAMETERS
-Name <String>
The name or description of a user right. Wildcards are supported for description values.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Resolve-UserRight "Generate security audits"
Returns the value SeAuditPrivilege.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Resolve-UserRight "*batch*"
Returns SeBatchLogonRight and SeDenyBatchLogonRight via the description.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Resolve-UserRight SeBatchLogonRight
Returns the name and description of the user right.
RELATED LINKS