Add-RASPubItemPreferredRoute

NAME

Add-RASPubItemPreferredRoute

SYNOPSIS

Adds a preferred route to the specified published resource.

SYNTAX

Add-RASPubItemPreferredRoute [-Idarrow-up-right] <uint> -Namearrow-up-right <string> -ReferenceIdarrow-up-right <uint> -ReferenceTypearrow-up-right {Gateway | HALB | Custom} [-Descriptionarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-SiteIdarrow-up-right <uint>] [<CommonParametersarrow-up-right>] Add-RASPubItemPreferredRoute [-InputObjectarrow-up-right] <PubItemarrow-up-right> -Namearrow-up-right <string> -ReferenceIdarrow-up-right <uint> -ReferenceTypearrow-up-right {Gateway | HALB | Custom} [-Descriptionarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-SiteIdarrow-up-right <uint>] [<CommonParametersarrow-up-right>]

DESCRIPTION

This cmdlet allows you to add a preferred route to the specified published resource. To modify preferred route options, use the Set-RASPubItemPreferredRoute cmdlet.

PARAMETERS

-Name <string> The Name of the Preferred Route

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

-Description <string> Description of the Preferred Route

-Enabled <bool> Whether the Preferred Route is enabled or not

-ReferenceType <RoutingTypearrow-up-right> Reference Type of the Preferred Route Possible values: Gateway, HALB, Custom

-ReferenceId <uint> Reference ID of the Preferred Route

-Id <uint> Published resource ID.

-InputObject <PubItemarrow-up-right> An object specifying the published resource. To obtain the object, use the Get-PubItem cmdlet.

-SiteId <uint> Site ID.

<CommonParameters>

INPUTS

PubItemarrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Add-RASPubItemPreferredRoute -Id 12 -Name Route1 -ReferenceType Gateway -ReferenceId 1 Adds a preferred route with Name Route1 that routes connections through the Gateway with ID 1. The target published resource is specified by ID 12. ---------- EXAMPLE 2 ---------- Add-RASPubItemPreferredRoute -Id 12 -Name Route2 -ReferenceType HALB -ReferenceId 1 Adds a preferred route with Name Route2 that routes connections through the HALB with ID 1. The target published resource is specified by ID 12.

Last updated