Set-RASPubItemPreferredRoute
Last updated
Last updated
Set-RASPubItemPreferredRoute
Modifies the specified preferred route for the specified published resource.
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>] [<>]
This cmdlet modifies the specified preferred route for the specified published resource. To add a preferred route, use the Add-RASPubItemPreferredRoute cmdlet.
-PreferredRouteId <uint> The ID of the Preferred Route to be modified.
-Name <string> The Name of the Preferred Route
-Description <string> Description of the Preferred Route
-Enabled <bool> Whether the Preferred Route is enabled or not
-ReferenceId <uint> Reference ID of the Preferred Route
-Id <uint> Published resource ID.
-SiteId <uint> Site ID.
<CommonParameters>
-none-
---------- 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.
-ReferenceType <> Reference Type of the Preferred Route Possible values: Gateway, HALB, Custom
-Priority <> The direction to move the Publishing Route object: Up or Down (changes the priority of the Publishing Route accordingly) Possible values: Up, Down
-InputObject <> An object specifying the published resource. To obtain the object, use the Get-PubItem cmdlet.