Set-RASCustomRoute

NAME

Set-RASCustomRoute

SYNOPSIS

Modifies a Custom Route.

SYNTAX

Set-RASCustomRoute [-Idarrow-up-right] <uint> [-Descriptionarrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Portarrow-up-right <uint>] [-PublicAddressarrow-up-right <string>] [-SSLPortarrow-up-right <uint>] [<CommonParametersarrow-up-right>] Set-RASCustomRoute [-InputObjectarrow-up-right] <CustomRoutearrow-up-right> [-Descriptionarrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Portarrow-up-right <uint>] [-PublicAddressarrow-up-right <string>] [-SSLPortarrow-up-right <uint>] [<CommonParametersarrow-up-right>] Set-RASCustomRoute [-Namearrow-up-right] <string> [[-SiteIdarrow-up-right] <uint>] [-Descriptionarrow-up-right <string>] [-NewNamearrow-up-right <string>] [-Portarrow-up-right <uint>] [-PublicAddressarrow-up-right <string>] [-SSLPortarrow-up-right <uint>] [<CommonParametersarrow-up-right>]

DESCRIPTION

Modifies properties of a Custom Route.

PARAMETERS

-Name <string> The name of the Custom Route.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-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 <CustomRoutearrow-up-right> 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>

INPUTS

CustomRoutearrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- 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.

Last updated