For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-RASHALBDevicePriority

SYNOPSIS

Changes the priority (order) of a specified HALB device within the list of HALB devices.

SYNTAX

Set-RASHALBDevicePriority [-HALBId] <uint> [-DeviceId] <uint> [-Direction] {Up | Down}
 [<CommonParameters>]
Set-RASHALBDevicePriority [-InputObject] <HALBSettings> [-DeviceId] <uint> [-Direction] {Up | Down}
 [<CommonParameters>]
Set-RASHALBDevicePriority [-HALBName] <string> [[-SiteId] <uint>] [-DeviceId] <uint>
 [-Direction] {Up | Down} [<CommonParameters>]

DESCRIPTION

Changes the priority (order) of a specified HALB device within the list of HALB devices.

EXAMPLES

Example 1

Set-RASHALBDevicePriority -HALBId 1 -DeviceId 2 -Direction Up

Increase priority of the HALB Device with ID 2 (Move it closer to the head of the list) of the HALB Virtual Server with ID 1.

Example 2

Increase priority of Device with ID 2 (Move it closer to the tail of the list) of the HALB Virtual Server with name "HALB-VS" of site ID 1.

Example 3

Decrease priority of the HALB Device with ID 2 (Move it closer to the head of the list) of the HALB Virtual Server with ID 1.

Example 4

Decrease priority of Device with ID 2 (Move it closer to the tail of the list) of the HALB Virtual Server with name "HALB-VS" of site ID 1.

PARAMETERS

-HALBId

The HALB Virtual Server ID.

-HALBName

The HALB Virtual Server Name.

-SiteId

The Site ID where the HALB Virtual Server resides.

-DeviceId

The HALB Device ID.

-Direction

Specifies in which direction to move the specified HALB Device.

Possible values: Up, Down

Type reference: MoveDirection

-InputObject

An object of type HALBSettings.

The object is obtained using the Get-RASHALB cmdlet.

Type reference: HALBSettings

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

HALBSettings

OUTPUTS

None

Last updated