Set-RASAutoUpgradeMessage
Last updated
Last updated
Set-RASAutoUpgradeMessage
Modifies an Auto-upgrade Message within Auto-upgrade settings.
Set-RASAutoUpgradeMessage - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} - <uint> [- <bool>] [- <string>] [- <string>] [- <uint>] [- {Before | After}] [- <uint>] [<>]
Set-RASAutoUpgradeMessage [-] <uint> - <uint> - {RDSHostPool | VDIHostPool | AVDHostPool} [- <bool>] [- <string>] [- <string>] [- <uint>] [- {Before | After}] [<>]
Set-RASAutoUpgradeMessage [-] <> - <uint> [- <bool>] [- <string>] [- <string>] [- <uint>] [- {Before | After}] [<>]
Set-RASAutoUpgradeMessage [-] <string> [[-] <uint>] - <uint> - {RDSHostPool | VDIHostPool | AVDHostPool} [- <bool>] [- <string>] [- <string>] [- <uint>] [- {Before | After}] [<>]
Modifies an Auto-upgrade Message within Auto-upgrade settings.
-MessageId <uint> Auto-upgrade job message ID.
-Enabled <bool> Whether to enable or disable the message.
-MessageTitle <string> The title of the message.
-Message <string> A message that should be sent to users before the job starts.
-SendMsgSecs <uint> Time interval in seconds before the job starts when the message to users should be sent.
SendMsgWhen can only be set to After in the case of Reboot.
Possible values: Before, After
-Name <string> The name or server for which to modify the Auto-upgrade settings.
-SiteId <uint> Site ID from which to modify the Auto-upgrade settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a server for which to modify the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Set-RASAutoUpgradeMessage -DefObjType RDSDef -MessageId 1 -Enabled 1 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Modifies the specified message by id within the Auto-upgrade settings of the RDS Default Settings. ---------- EXAMPLE 2 ----------
Set-RASAutoUpgradeMessage -Name "VDIHostPool1" -ObjType VDIHostPool -MessageId 1 -Enabled 1 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Modifies the specified message by id within the Auto-upgrade settings of the specified VDIHostPool by Name. ---------- EXAMPLE 3 ----------
Set-RASAutoUpgradeMessage -Id 1 -ObjType AVDHostPool -MessageId 1 -Enabled 1 -SendMsgSecs 60 -SendMsgWhen Before -MessageTitle "messageTitle" -Message "messageBody"
Modifies the specified message by id within the Auto-upgrade settings of the specified AVDHostPool by Id.
-SendMsgWhen <> Whether the message is sent Before/After the AutoUpgrade is triggered.
-InputObject <> An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the Auto-upgrade settings.
-ObjType <> The Object Type for which to modify the Auto-upgrade settings.
-DefObjType <> The Default Object Type for which to modify the Auto-upgrade settings.