NAME
Set-RASRule
SYNOPSIS
Modifies the Rule settings.
SYNTAX
Set-RASRule [ ] (uint) **
[[- ] (uint) ]
- {ClientPolicy | PubItem}
- (uint)
[ (string) ]
[ (bool) ]
[- {Up | Down}]
[ (string) ]
[( ) ]
Set-RASRule [- ]**
( )
[[- ] (uint) ]
- (uint)
[ (string) ]
[ (bool) ]
[- {Up | Down}]
[ (string) ]
[( ) ]
Set-RASRule [ ] (string) **
[[- ] (uint) ]
- {ClientPolicy | PubItem}
- (uint)
[ (string) ]
[ (bool) ]
[- {Up | Down}]
[ (string) ]
[( ) ]
DESCRIPTION
Modifies the Rule settings of Published Items.
PARAMETERS
RuleId (uint)
The ID of the Rule to modify.
Copy Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Enabled (bool)
Whether the rule will be enabled or disabled.
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
RuleName (string)
The modified name of the rule.
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Description (string)
The modified description of the rule.
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The direction to move the Rule: Up or Down (changes the priority of the
Rule accordingly)
Possible values: Up, Down
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Name (string)
The name or server for which to modify the Rule settings.
Copy Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
SiteId (uint)
Site ID for which to modify the Rule settings.
If the parameter is omitted, the Licensing Server site ID will be
used.
Copy Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Id (uint)
The ID of a server for which to modify the Rule settings.
Copy Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object of type ClientPolicy or PubItem for which to modify the Rule
settings.
Copy Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
The Object Type for which to modify the Rule settings.
Possible values: ClientPolicy, PubItem
Copy Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
(CommonParameters)
Copy This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.
-none-
OUTPUTS
-none-
EXAMPLES
**---------- EXAMPLE 1 ----------
Set-RASRule -Id 1 -ObjType ClientPolicy -RuleId 2 -Description Test
Modifies the description of the Rule with Id 2 from the Client Policy
with Id 1.