Set-RASNotificationEvent

NAME

Set-RASNotificationEvent

SYNOPSIS

Update event notification.

SYNTAX

Set-RASNotificationEvent [-Idarrow-up-right] <uint> [-AllServersarrow-up-right <bool>] [-Enabledarrow-up-right <bool>] [-EnableGracePeriodarrow-up-right <bool>] [-EnableIntervalarrow-up-right <bool>] [-ExecuteScriptarrow-up-right <bool>] [-GracePeriodarrow-up-right <uint>] [-Intervalarrow-up-right <uint>] [-Recipientsarrow-up-right <string[]>] [-ScriptIdarrow-up-right <uint>] [-ScriptObjectarrow-up-right <NotificationScriptarrow-up-right>] [-SendEmailarrow-up-right <bool>] [-TargetIdsarrow-up-right <List`1>] [-TargetTypearrow-up-right {AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [-WaitUntilRecoveredarrow-up-right <bool>] [<CommonParametersarrow-up-right>] Set-RASNotificationEvent [-InputObjectarrow-up-right] <NotificationEventarrow-up-right> [-AllServersarrow-up-right <bool>] [-Enabledarrow-up-right <bool>] [-EnableGracePeriodarrow-up-right <bool>] [-EnableIntervalarrow-up-right <bool>] [-ExecuteScriptarrow-up-right <bool>] [-GracePeriodarrow-up-right <uint>] [-Intervalarrow-up-right <uint>] [-Recipientsarrow-up-right <string[]>] [-ScriptIdarrow-up-right <uint>] [-ScriptObjectarrow-up-right <NotificationScriptarrow-up-right>] [-SendEmailarrow-up-right <bool>] [-TargetIdsarrow-up-right <List`1>] [-TargetTypearrow-up-right {AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [-WaitUntilRecoveredarrow-up-right <bool>] [<CommonParametersarrow-up-right>]

DESCRIPTION

Updates the selected event notification with new settings.

PARAMETERS

-InputObject <NotificationEventarrow-up-right> InputObject from pipeline or by parameter.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-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.

-ScriptObject <NotificationScriptarrow-up-right> Script object.

-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.

-TargetType <TargetTypearrow-up-right> Target type. Possible values: AllServers, RDSHostPools, RDSHGroups, VDIHostPools, VDIPools, AVDHostPools, RemotePCs, SecureGateways, Gateways, Brokers, PublishingAgents, EnrollmentServers, ForceAllAgents

-TargetIds <List`1> Target IDs.

<CommonParameters>

INPUTS

NotificationEventarrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- 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.

Last updated