Add-RASScheduleMessage
Last updated
Last updated
Add-RASScheduleMessage
Adds schedule message information for a Schedule.
Add-RASScheduleMessage []** (uint) - (string) - (string) - {RDS | VDI | AVD} [ (bool)] [ (uint)] [- {Before | After}] [()]
Add-RASScheduleMessage []** (string) [[-] (uint)] - (string) - (string) - {RDS | VDI | AVD} [ (bool)] [ (uint)] [- {Before | After}] [()]
Adds schedule message information for a Schedule.
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.
Send Message When 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-
**---------- EXAMPLE 1 ----------
Add-RASScheduleMessage -ObjType VDI -Name "SchedItem" -Enabled 0 -SendMsgSecs 60 -MessageTitle "messageTitle" -Message "messageBody"
Adds a Message to the schedule item specified by name, set to send 1 minute before schedule trigger. **---------- EXAMPLE 2 ----------
Add-RASScheduleMessage -ObjType VDI -Id 2 -Enabled 1 -SendMsgSecs 120 -MessageTitle "messageTitle" -Message "messageBody"
Adds a Message to the schedule item specified by id, set to send 2 minutes before schedule trigger.