Get-AmsComputerAuthorizationRule

SYNOPSIS

Gets all the computer authorization rules, or a specific computer authorization rule by its ID

SYNTAX

Get-AmsComputerAuthorizationRule [-Id <String>] [<CommonParameters>]

DESCRIPTION

When called without any parameters, this cmdlet returns all the computer authorization rules currently on the server. When the ID parameter is specified, it returns the rule matching that ID.

EXAMPLES

Example 1

PS C:\> Get-AmsComputerAuthorizationRule

Returns all the computer authorization rules

Example 2

PS C:\> Get-AmsComputerAuthorizationRule -Id '42d15c63-e17f-4c3c-a61c-b338f9cf3984'

Returns the authorization rule specified by the provided ID

PARAMETERS

-Id

The unique ID of the rule

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Lithnet.AccessManager.PowerShell.ComputerAuthorizationRulePSObject

NOTES

Use of this cmdlet requires an Enterprise Edition license.

Last updated