Set-RASSchedule
Last updated
Last updated
Set-RASSchedule
Modifies a Schedule.
Set-RASSchedule [] (uint)** - {RDS | VDI | AVD} [ (uint)] [ (string)] [ (double)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (uint)] [ (uint)] [ (uint)] [- {Never | EveryDay | EveryWeek | Every2Weeks | EveryMonth | EveryYear | SpecificDays}] [- {Never | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [ (DateTime)] [()]
Set-RASSchedule [-]** () [ (uint)] [ (string)] [ (double)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (uint)] [ (uint)] [ (uint)] [- {Never | EveryDay | EveryWeek | Every2Weeks | EveryMonth | EveryYear | SpecificDays}] [- {Never | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [ (DateTime)] [()]
Set-RASSchedule [[-]** (string)] [[-] (uint)] - {RDS | VDI | AVD} [ (uint)] [ (string)] [ (double)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (uint)] [ (uint)] [ (uint)] [- {Never | EveryDay | EveryWeek | Every2Weeks | EveryMonth | EveryYear | SpecificDays}] [- {Never | Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday}] [ (DateTime)] [()]
Modifies a Schedule property.
Scheduler job name.
Site ID from which to retrieve the schedule job.
Scheduler job ID.
Schedule object type.
Possible values: RDS, VDI, AVD
An object of type Schedule representing the target scheduler job.
To obtain the object, use the Get-RASSchedule command."
A new name for the scheduler job.
Whether to enable or disable the schedule.
Schedule description.
Start time. Default: Now.
Duration in seconds.
Repeat interval. Default: EveryWeek
Accepted values: Never, EveryDay, EveryWeek, Every2Weeks, EveryMonth, EveryYear.
Possible values: Never, EveryDay, EveryWeek, Every2Weeks, EveryMonth, EveryYear, SpecificDays
Possible values: Never, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
The duration of the scheduler task in seconds. Minimum: 60 seconds. Maximum: 2592000 seconds (30 days).
Default: 900 seconds for disable task, 600 seconds for reboot task.
Whether to select the percentage or specific number of members to be started
Percentage of members to be started
Specific number of members to be started
Power On Assigned Pool Members
Whether to enable Drain Mode
Force server reboot after the specified time in seconds
Enforce schedule for currently inactive host
What action to take on Disable
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Set-RASSchedule "My Schedule" -ObjType RDS -Enabled $False
Disables the Schedule property specified by name. **---------- EXAMPLE 2 ----------
Set-RASSchedule -Id 10 -ObjType RDS -Enabled $False
Disables the Schedule property specified by ID. **---------- EXAMPLE 3 ----------
Set-RASSchedule $Schedule -Enabled $False
Disables the Schedule property specified by the $Schedule variable (an object of type Schedule).
() Repeat on Specific Days.