Set-RASNotificationEvent

NAME

Set-RASNotificationEvent

SYNOPSIS

Update event notification.

SYNTAX

Set-RASNotificationEvent [-InputObject] <RASNotificationEvent> [-Enabled <bool>] [-EnableGracePeriod <bool>] [-EnableInterval <bool>] [-ExecuteScript <bool>] [-GracePeriod <uint>] [-Interval <uint>] [-Recipients <string[]>] [-ScriptId <uint>] [-ScriptObject <RASNotificationScript>] [-SendEmail <bool>] [-UseDefaults <bool>] [-WaitUntilRecovered <bool>] [<CommonParameters>]

Set-RASNotificationEvent [-Id] <uint> [-Enabled <bool>] [-EnableGracePeriod <bool>] [-EnableInterval <bool>] [-ExecuteScript <bool>] [-GracePeriod <uint>] [-Interval <uint>] [-Recipients <string[]>] [-ScriptId <uint>] [-ScriptObject <RASNotificationScript>] [-SendEmail <bool>] [-UseDefaults <bool>] [-WaitUntilRecovered <bool>] [<CommonParameters>]

DESCRIPTION

Updates the selected event notification with new settings.

PARAMETERS


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

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

-Enabled <bool>
Enable/Disable notification.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Enable <bool>
Enable/Disable notification.

This is an alias of the Enabled parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-GracePeriod <uint>
Notification grace period.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableGracePeriod <bool>
Enable/Disable grace period.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Recipients <string[]>
Notification recipients.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SendEmail <bool>
Enable/Disable email notification.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ScriptId <uint>
Use script of given id.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ScriptObject <RASNotificationScript>
Script object.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ExecuteScript <bool>
Enable/Disable notification scripts.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableScript <bool>
Enable/Disable notification scripts.

This is an alias of the ExecuteScript parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-UseDefaults <bool>
Use default notification settings.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Interval <uint>
Notification interval (minutes).

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-EnableInterval <bool>
Enable/Disable notification intervals.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-WaitUntilRecovered <bool>
Wait until recovered.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

RASNotificationEvent

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.

RELATED LINKS