Set-RASCustomRoute

NAME

Set-RASCustomRoute

SYNOPSIS

Modifies a Custom Route.

SYNTAX

Set-RASCustomRoute [Id] (uint)** [Description (string)] [Enabled (bool)] [NewName (string)] [Port (uint)] [PublicAddress (string)] [SSLPort (uint)] [(CommonParameters)]

Set-RASCustomRoute [-InputObject] (CustomRoute) [Description (string)] [Enabled (bool)] [NewName (string)] [Port (uint)] [PublicAddress (string)] [SSLPort (uint)] [(CommonParameters)]

Set-RASCustomRoute [Name]** (string) [[-SiteId] (uint)] [Description (string)] [Enabled (bool)] [NewName (string)] [Port (uint)] [PublicAddress (string)] [SSLPort (uint)] [(CommonParameters)]

DESCRIPTION

Modifies properties of a Custom Route.

PARAMETERS

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.

Enabled (bool)

Whether Custom Route is enabled or not

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

CustomRoute

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