All pages
Powered by GitBook
1 of 1

Loading...

Set-RASHALBDevicePriority.md

NAME

Set-RASHALBDevicePriority

SYNOPSIS

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

SYNTAX

**Set-RASHALBDevicePriority [] (uint) [] (uint) [-] {Up | Down} [()]

**Set-RASHALBDevicePriority [-] () [] (uint) [-] {Up | Down} [()]

**Set-RASHALBDevicePriority [] (string) [[-] (uint)] [] (uint) [-] {Up | Down} [()]

DESCRIPTION

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

PARAMETERS

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 ()

Specifies in which direction to move the specified HALB Device.

Possible values: Up, Down

InputObject ()

An object of type HALBSettings.

The object is obtained using the Get-RASHALB cmdlet.

(CommonParameters)

INPUTS

OUTPUTS

-none-

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 ----------

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.

RELATED LINKS

HALBId
DeviceID
Direction
CommonParameters
InputObject
HALBSettings
DeviceID
Direction
CommonParameters
HALBName
SiteId
DeviceID
Direction
CommonParameters
MoveDirection
HALBSettings
HALBSettings
Remove-RASHALBDevice
Get-RASHALBDevice
Add-RASHALBDevice
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    false

        Position?                    1

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    2

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    3

        Default value                Up

        Accept pipeline input?       false

        Accept wildcard characters?  false
        Required?                    true

        Position?                    0

        Default value                

        Accept pipeline input?       true (ByValue)

        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation.