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

Set-RASLogonHoursOrder

SYNOPSIS

Changes the order of logon hours rules.

SYNTAX

Set-RASLogonHoursOrder [-Id] <uint> -Direction {Up | Down} [<CommonParameters>]
Set-RASLogonHoursOrder [-InputObject] <LogonHours> -Direction {Up | Down} [<CommonParameters>]
Set-RASLogonHoursOrder [-Name] <string> [[-SiteId] <uint>] -Direction {Up | Down}
 [<CommonParameters>]

DESCRIPTION

Changes the order of logon hours rules.

EXAMPLES

Example 1

Set-RASLogonHoursOrder -Id 5 -Direction Up

Moves up the RAS logon hours rule specified by ID.

Example 2

Moves down the RAS logon hours rule specified by ID.

PARAMETERS

-Name

The name of the RAS logon hours rule.

This must be the actual name of the logon hours rule used in Parallels RAS.

-SiteId

Site ID from which to retrieve the logon hours rule information.

If the parameter is omitted, the Licensing Server Site ID will be used.

-Id

The ID of the RAS logon hours rule.

-InputObject

An object of type LogonHours representing the RAS logon hours rule.

To obtain the object, use the Get-RASLogonHours cmdlet.

Type reference: LogonHours

-Direction

The direction to move the logon hours object: Up or Down (changes the order of the logon hours rule accordingly).

Possible values: Up, Down

Type reference: MoveDirection

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

LogonHours

OUTPUTS

None

Last updated