NAME

Set-DcsDefaultThreshold

SYNOPSIS

Sets or changes the properties of a default threshold.

SYNTAX

Set-DcsDefaultThreshold -Type <String> -CounterName <String> [ -AttentionLevel <Double> ] [ -WarningLevel <Double> ] [ -CriticalLevel <Double> ] [ -Connection <String> ] [ -PipelineVariable <String> ]

DESCRIPTION

Sets or changes the properties of a default threshold. Only specify the parameters to set or change. If a parameter is not specified, it will not be changed from the current setting.

PARAMETERS

--Type <String>
The Type of object associated with the default threshold to be changed.

Required: true
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-CounterName <String>
The Counter name of object associated with the default threshold to be changed.

Required: true
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-AttentionLevel <Double>
Use this parameter to set or change the attention level of the default threshold.
Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-WarningLevel <Double>
Use this parameter to set or change the warning level of the default threshold.
Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-CriticalLevel <Double>
Use this parameter to set or change the critical level of the default threshold
Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-Connection <String>
Alias of the connection to the server group. If not specified, the default connection will be used.
Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false
 
-PipelineVariable <String>
Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

OUTPUTS

DefaultThresholdData

NOTES

Also see Get-DcsDefaultThreshold

EXAMPLES


-------------- Example 1 Changes the attention and warning level of a default threshold--------------
Set-DcsDefaultThreshold -Type VirtualDisk -CounterName TotalOperationsTime -AttentionLevel 15 -WarningLevel 25

The attention and warning level of the specified default threshold is changed to the new values. The remaining properties of the default threshold are unchanged.

Alias:DataCore.Executive.Controller.VirtualDisk:TotalOperationsTime
Description:Default thresholds for DataCore.Executive.Controller.VirtualDisk:TotalOperationsTime
CounterName:TotalOperationsTime
TargetType :DataCore.Executive.Controller.VirtualDisk
AttentionLevel:15
WarningLevel:25
CriticalLevel :40
SequenceNumber:540841
Id:d1de72a4-96c5-4af4-97a4-a3aef21e5ed6
Caption: 
ExtendedCaption: 
Internal:False