All pages
Powered by GitBook
1 of 1

Loading...

Get-RASRule

NAME

Get-RASRule

SYNOPSIS

Retrieves the Rule settings.

SYNTAX

Get-RASRule [-] <uint> [[-] <uint>] - {ClientPolicy | PubItem} [- <uint>] [<>]

Get-RASRule [-] <string> [[-] <uint>] - {ClientPolicy | PubItem} [- <uint>] [<>]

DESCRIPTION

Retrieves the Rule settings from Published Items.

PARAMETERS

-Name <string> The name or server for which to retrieve the Rule settings.

-SiteId <uint> Site ID from which to retrieve the Rule settings.

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

-Id <uint> 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

-RuleId <uint> The ID of the Rule to retrieve.

<CommonParameters>

INPUTS

-none-

OUTPUTS

EXAMPLES

---------- EXAMPLE 1 ----------

Get-RASRule -Id 1 -ObjType ClientPolicy

Retrieves the Rule Settings of the Client Policy with Id 1. ---------- EXAMPLE 2 ----------

Get-RASRule -Id 1 -ObjType ClientPolicy -RuleId 2

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

RELATED LINKS

Id
SiteId
ObjType
RuleId
CommonParameters
Name
SiteId
ObjType
RuleId
CommonParameters
RuleObjType
ClientPolicyRule
PubItemRule
Add-RASRule
Remove-RASRule
Set-RASRule
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation.