Set-RASScheduleMessage
Last updated
Last updated
Set-RASScheduleMessage
Modifies a Schedule Message from a Schedule Item.
Set-RASScheduleMessage []** (uint) - (uint) - {RDS | VDI | AVD} [ (bool)] [ (string)] [ (string)] [ (uint)] [- {Before | After}] [()]
Set-RASScheduleMessage []** (string) [[-] (uint)] - (uint) - {RDS | VDI | AVD} [ (bool)] [ (string)] [ (string)] [ (uint)] [- {Before | After}] [()]
Modifies a Schedule Message from a Schedule Item.
Scheduler job message ID.
Whether to enable or disable the message.
The title of the message.
A message that should be sent to users before the job starts.
Time interval in seconds before the job starts when the message to users should be sent.
Whether the message is sent Before/After the schedule is triggered.
SendMsgWhen can only be set to After in the case of Reboot.
Possible values: Before, After
Scheduler job name.
Site ID to modify the schedule job.
Scheduler job ID.
Schedule message object type.
Possible values: RDS, VDI, AVD
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Set-RASScheduleMessage -ObjType VDI -Name "SchedItem" -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Modifies the specified message by id within the specified schedule item by name. **---------- EXAMPLE 2 ----------
Set-RASScheduleMessage -ObjType VDI -Id 1 -MessageId 1 -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Modifies the specified message by id within the specified schedule item by id.