Set-RASNotificationEvent
Last updated
Last updated
Set-RASNotificationEvent
Update event notification.
Set-RASNotificationEvent [-] <uint> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <uint>] [- <string[]>] [- <uint>] [- <>] [- <bool>] [- <List`1>] [- {AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [- <bool>] [<>] Set-RASNotificationEvent [-] <> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <uint>] [- <string[]>] [- <uint>] [- <>] [- <bool>] [- <List`1>] [- {AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [- <bool>] [<>]
Updates the selected event notification with new settings.
-InputObject <> InputObject from pipeline or by parameter.
-Id <uint> Notification ID.
-Enabled <bool> Enable/Disable notification.
-GracePeriod <uint> Notification grace period (minutes).
-EnableGracePeriod <bool> Enable/Disable grace period.
-Recipients <string[]> Notification recipients.
-SendEmail <bool> Enable/Disable email notification.
-ScriptId <uint> Use script of given ID.
-ExecuteScript <bool> Enable/Disable notification scripts.
-Interval <uint> Notification interval (minutes).
-EnableInterval <bool> Enable/Disable notification intervals.
-WaitUntilRecovered <bool> Wait until recovered.
-AllServers <bool> All servers in site.
-TargetIds <List`1> Target IDs.
<CommonParameters>
-none-
---------- EXAMPLE 1 ---------- Set-RASNotificationEvent -Id 1 -Type License -Enabled $true -GracePeriod 22 Changes event notification of Id 1 to be a License event notification with grace period of 22min.
-ScriptObject <> Script object.
-TargetType <> Target type. Possible values: AllServers, RDSHostPools, RDSHGroups, VDIHostPools, VDIPools, AVDHostPools, RemotePCs, SecureGateways, Gateways, Brokers, PublishingAgents, EnrollmentServers, ForceAllAgents