Set-RASHALBDevicePriority
Changes the priority (order) of a specified HALB device within the list of HALB devices.
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>]
Changes the priority (order) of a specified HALB device within the list of HALB devices.
-HALBId <uint> The HALB Virtual Server ID.
-HALBName <string> The HALB Virtual Server Name.
-SiteId <uint> The Site ID where the HALB Virtual Server resides.
-DeviceID <uint> The HALB Device ID.
-Direction <MoveDirection> Specifies in which direction to move the specified HALB Device.
Possible values: Up, Down
-InputObject <HALBSettings> An object of type HALBSettings.
The object is obtained using the Get-RASHALB cmdlet.
<CommonParameters>
-none-
---------- 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 ----------
Set-RASHALBDevicePriority -HALBName "HALB-VS" -SiteId 1 -DeviceId 2 -Direction Up
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 ----------
Set-RASHALBDevicePriority -HALBId 1 -DeviceId 2 -Direction Down
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 ----------
Set-RASHALBDevicePriority -HALBName "HALB-VS" -SiteId 1 -DeviceId 2 -Direction Down
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.