All pages
Powered by GitBook
1 of 1

Loading...

Set-RASNotificationResource

NAME

Set-RASNotificationResource

SYNOPSIS

Update resource notification.

SYNTAX

Set-RASNotificationResource [-] <uint> [- <bool>] [- {RisesAbove | LowersBelow}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <uint>] [- <string[]>] [- <uint>] [- <>] [- <bool>] [- <List`1>] [- {AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [- <uint>] [- <bool>] [<>] Set-RASNotificationResource [-] <> [- <bool>] [- {RisesAbove | LowersBelow}] [- <bool>] [- <bool>] [-

DESCRIPTION

Updates the selected resource notification with new settings.

PARAMETERS

-Threshold <uint> Tolerance value which triggers notification.

-Direction <> Threshold direction. Possible values: RisesAbove, LowersBelow

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

-ScriptObject <> 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 <> Target type. Possible values: AllServers, RDSHostPools, RDSHGroups, VDIHostPools, VDIPools, AVDHostPools, RemotePCs, SecureGateways, Gateways, Brokers, PublishingAgents, EnrollmentServers, ForceAllAgents

-TargetIds <List`1> Target IDs.

<CommonParameters>

INPUTS

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Set-RASNotificationResource -Id 1 -Type CPUEvent -Threshold 50 -Direction RisesAbove -Enabled Changes resource notification of Id 1 to be a CPU notification with a raises above 50% rule.

<bool>
] [-
<bool>] [-
<uint>] [-
<uint>] [-
<string[]>] [-
<uint>] [-
<
>] [-
<bool>] [-
<List`1>] [-
{AllServers | RDSHostPools | RDSHGroups | VDIHostPools | VDIPools | AVDHostPools | RemotePCs | SecureGateways | Gateways | Brokers | PublishingAgents | EnrollmentServers | ForceAllAgents}] [-
<uint>] [-
<bool>] [<
>]
Id
AllServers
Direction
Enabled
EnableGracePeriod
EnableInterval
ExecuteScript
GracePeriod
Interval
Recipients
ScriptId
ScriptObject
NotificationScript
SendEmail
TargetIds
TargetType
Threshold
WaitUntilRecovered
CommonParameters
InputObject
NotificationResource
AllServers
Direction
Enabled
EnableGracePeriod
EnableInterval
ThresholdDirection
NotificationResource
NotificationScript
TargetType
NotificationResource
ExecuteScript
GracePeriod
Interval
Recipients
ScriptId
ScriptObject
NotificationScript
SendEmail
TargetIds
TargetType
Threshold
WaitUntilRecovered
CommonParameters
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false
        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters .