Add-RASAutoUpgradeMessage
Last updated
Last updated
Add-RASAutoUpgradeMessage
Adds schedule message information within Auto-upgrade settings.
Add-RASAutoUpgradeMessage - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - (string) - (string) [ (bool)] [ (uint)] [- {Before | After}] [ (uint)] [()]
Add-RASAutoUpgradeMessage [] (uint) - (string) - (string) - {RDSHostPool | VDIHostPool | AVDHostPool} [ (bool)] [ (uint)] [- {Before | After}] [()]
Add-RASAutoUpgradeMessage [-] () - (string) - (string) [ (bool)] [ (uint)] [- {Before | After}] [()]
Add-RASAutoUpgradeMessage [] (string) [[-] (uint)] - (string) - (string) - {RDSHostPool | VDIHostPool | AVDHostPool} [ (bool)] [ (uint)] [- {Before | After}] [()]
Adds schedule message information within Auto-upgrade settings.
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 AutoUpgrade is triggered.
Send Message When can only be set to After in the case of Reboot.
Possible values: Before, After
The name or server for which to modify the Auto-upgrade settings.
Site ID from which to modify the Auto-upgrade settings.
If the parameter is omitted, the Licensing Server site ID will be used.
The ID of a server for which to modify the Auto-upgrade settings.
The Object Type for which to modify the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
The Default Object Type for which to modify the Auto-upgrade settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Add-RASAutoUpgradeMessage -DefObjType RDSDef -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the RDS Default Settings. **---------- EXAMPLE 2 ----------
Add-RASAutoUpgradeMessage -Name "VDIHostPool1" -ObjType VDIHostPool -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the specified VDIHostPool by Name. **---------- EXAMPLE 3 ----------
Add-RASAutoUpgradeMessage -Id 1 -ObjType AVDHostPool -Enabled 0 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Adds a message to the Auto-upgrade settings of the specified AVDHostPool by Id.
() An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the Auto-upgrade settings.