NAME
Set-RASPubItemPreferredRoute
SYNOPSIS
Modifies the specified preferred route for the specified published
resource.
SYNTAX
Set-RASPubItemPreferredRoute
[ ] (uint)
-
(uint)
[
(string) ] [
(bool) ] [
(string) ] [-
{Up | Down}]
[
(uint) ]
[-
{Gateway | HALB | Custom}]
[ (uint) ]
[( ) ]
Set-RASPubItemPreferredRoute
[- ]
( )
-
(uint)
[
(string) ] [
(bool) ] [
(string) ] [-
{Up | Down}]
[
(uint) ]
[-
{Gateway | HALB | Custom}]
[ (uint) ]
[( ) ]
DESCRIPTION
This cmdlet modifies the specified preferred route for the specified
published resource.
To add a preferred route, use the Add-RASPubItemPreferredRoute cmdlet.
PARAMETERS
PreferredRouteId (uint)
The ID of the Preferred Route to be modified.
Copy Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
Name (string)
The Name of the Preferred Route
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Description (string)
Description of the Preferred Route
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Enabled (bool)
Whether the Preferred Route is enabled or not
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Reference Type of the Preferred Route
Possible values: Gateway, HALB, Custom
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
ReferenceId (uint)
Reference ID of the Preferred Route
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The direction to move the Publishing Route object: Up or Down (changes
the priority of the Publishing Route accordingly)
Possible values: Up, Down
Copy Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
Id (uint)
Published resource ID.
Copy Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
Copy Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
SiteId (uint)
Site ID.
Copy Required? false
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.
OUTPUTS
-none-
EXAMPLES
**---------- EXAMPLE 1 ----------
Set-RASPubItemPreferredRoute -Id 12 -PreferredRouteId 1 -Enabled
$False
Disable the preferred route with ID 1 for the published resource
specified with ID 12.