For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-RASRule

SYNOPSIS

Retrieves the Rule settings.

SYNTAX

Get-RASRule [-Id] <uint> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | FileAccess}
 [-RuleId <uint>] [<CommonParameters>]
Get-RASRule [-Name] <string> [[-SiteId] <uint>] -ObjType {ClientPolicy | PubItem | FileAccess}
 [-RuleId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the Rule settings from Published Items.

EXAMPLES

Example 1

Get-RASRule -Id 1 -ObjType ClientPolicy

Retrieves the Rule Settings of the Client Policy with Id 1.

Example 2

Retrieves the Rule with Id 2 from the Client Policy with Id 1.

PARAMETERS

-Name

The name or server for which to retrieve the Rule settings.

-SiteId

Site ID from which to retrieve the Rule settings.

If the parameter is omitted, the Licensing Server site ID will be used.

-Id

The ID of a server for which to retrieve the Rule settings.

-ObjType

The Object Type for which to retrieve the Rule settings.

Possible values: ClientPolicy, PubItem, FileAccess

Type reference: RuleObjType

-RuleId

The ID of the Rule to retrieve.

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

ClientPolicyRule PubItemRule

Last updated