Set-RASCustomRoute
Modifies a Custom Route.
Set-RASCustomRoute [-Id] <uint> [-Description <string>] [-NewName <string>] [-Port <uint>] [-PublicAddress <string>] [-SSLPort <uint>] [<CommonParameters>]
Set-RASCustomRoute [-InputObject] <CustomRoute> [-Description <string>] [-NewName <string>] [-Port <uint>] [-PublicAddress <string>] [-SSLPort <uint>] [<CommonParameters>]
Set-RASCustomRoute [-Name] <string> [[-SiteId] <uint>] [-Description <string>] [-NewName <string>] [-Port <uint>] [-PublicAddress <string>] [-SSLPort <uint>] [<CommonParameters>]
Modifies properties of a Custom Route.
-Name <string> The name of the Custom Route.
-SiteId <uint> Site ID in which to modify the specified Custom Route.
If the parameter is omitted, the site ID of the Licensing Server will be used.
-Id <uint> The ID of the Custom Route to modify. To obtain the ID, use the Get-RASCustomRoute cmdlet.
-InputObject <CustomRoute> The Custom Route to modify.
To obtain an object of type CustomRoute representing a Custom Route, use the Get-RASCustomRoute cmdlet.
-NewName <string> The new name of the Custom Route.
-Description <string> A user-defined Custom Route description.
-PublicAddress <string> Public Address of the Custom Route
-Port <uint> Port of the Custom Route
-SSLPort <uint> SSL Port of the Custom Route
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Set-RASCustomRoute -Name "My Custom Route" -Description "Custom"
Modifies the description of a custom route specified by name. ---------- EXAMPLE 2 ----------
Set-RASCustomRoute -Id 1 -PublicAddress server.test.com
Modifies the public address of a custom route specified by Id.