All pages
Powered by GitBook
1 of 1

Loading...

Add-RASRule

NAME

Add-RASRule

SYNOPSIS

Adds a Rule to the Rule List.

SYNTAX

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

DESCRIPTION

Adds a Rule to the Rule List within Published Items.

PARAMETERS

-Enabled <bool> Whether the new rule will be enabled or disabled.

-RuleName <string> The name of the rule to add to the Criteria.

-Description <string> Description for the new rule.

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

-SiteId <uint> Site ID for which to modify 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 modify the Rule settings.

-InputObject <> An object of type ClientPolicy or PubItem for which to modify the Rule settings.

-ObjType <> The Object Type for which to modify the Rule settings. Possible values: ClientPolicy, PubItem

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASRule -Id 1 -ObjType ClientPolicy -RuleName Rule1 Add a rule with name Rule1 to the Rule List within the Client Policy with Id 1.

RELATED LINKS

Id
SiteId
ObjType
RuleName
Description
Enabled
CommonParameters
InputObject
RASListObj
SiteId
RuleName
Description
Enabled
CommonParameters
Name
SiteId
ObjType
RuleName
Description
Enabled
CommonParameters
RASListObj
RuleObjType
Get-RASRule
Remove-RASRule
Set-RASRule
        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        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?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        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 .