Set-RASAutoUpgradeMessage
SYNOPSIS
Modifies an Auto-upgrade Message within Auto-upgrade settings.
SYNTAX
Set-RASAutoUpgradeMessage
-DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings}
-MessageId <uint> [-Enabled <bool>] [-Message <string>] [-MessageTitle <string>]
[-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}] [-SiteId <uint>] [<CommonParameters>]Set-RASAutoUpgradeMessage [-Id] <uint> -MessageId <uint>
-ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [-Enabled <bool>] [-Message <string>]
[-MessageTitle <string>] [-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}] [<CommonParameters>]Set-RASAutoUpgradeMessage [-InputObject] <RASSerilazableObj> -MessageId <uint> [-Enabled <bool>]
[-Message <string>] [-MessageTitle <string>] [-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}]
[<CommonParameters>]Set-RASAutoUpgradeMessage [-Name] <string> [[-SiteId] <uint>] -MessageId <uint>
-ObjType {RDSHostPool | VDIHostPool | AVDHostPool} [-Enabled <bool>] [-Message <string>]
[-MessageTitle <string>] [-SendMsgSecs <uint>] [-SendMsgWhen {Before | After}] [<CommonParameters>]DESCRIPTION
Modifies an Auto-upgrade Message within Auto-upgrade settings.
EXAMPLES
Example 1
Modifies the specified message by id within the Auto-upgrade settings of the RDS Default Settings.
Example 2
Modifies the specified message by id within the Auto-upgrade settings of the specified VDIHostPool by Name.
Example 3
Modifies the specified message by id within the Auto-upgrade settings of the specified AVDHostPool by Id.
PARAMETERS
-MessageId
Auto-upgrade job message ID.
-Enabled
Whether to enable or disable the message.
-MessageTitle
The title of the message.
-Message
A message that should be sent to users before the job starts.
-SendMsgSecs
Time interval in seconds before the job starts when the message to users should be sent.
-SendMsgWhen
Whether the message is sent Before/After the AutoUpgrade is triggered.
SendMsgWhen can only be set to After in the case of Reboot.
Possible values: Before, After
Type reference: SendMsgWhen
-Name
The name or server for which to modify the Auto-upgrade settings.
-SiteId
Site ID from which to modify the Auto-upgrade settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id
The ID of a server for which to modify the Auto-upgrade settings.
-InputObject
An object of type RDS, RDSHostPool, VDITemplate or VDIDesktop for which to modify the Auto-upgrade settings.
Type reference: RASSerilazableObj
-ObjType
The Object Type for which to modify the Auto-upgrade settings.
Possible values: RDSHostPool, VDIHostPool, AVDHostPool
Type reference: HostPoolObjType
-DefObjType
The Default Object Type for which to modify the Auto-upgrade settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings
Type reference: ServerDefObjType
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated