Set-RASPubItemPreferredRoute

NAME

Set-RASPubItemPreferredRoute

SYNOPSIS

Modifies the specified preferred route for the specified published resource.

SYNTAX

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

DESCRIPTION

This cmdlet modifies the specified preferred route for the specified published resource. To add a preferred route, use the Add-RASPubItemPreferredRoute cmdlet.

PARAMETERS

-PreferredRouteId <uint> The ID of the Preferred Route to be modified.

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

-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

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

-ReferenceId <uint> Reference ID of the Preferred Route

-Priority <MoveDirectionarrow-up-right> The direction to move the Publishing Route object: Up or Down (changes the priority of the Publishing Route accordingly) Possible values: Up, Down

-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 ---------- Set-RASPubItemPreferredRoute -Id 12 -PreferredRouteId 1 -Enabled $False Disable the preferred route with ID 1 for the published resource specified with ID 12.

Last updated