NAME

Remove-DcsTrigger

SYNOPSIS

Removes a trigger from the specified task.

SYNTAX

Remove-DcsTrigger   [ -Task <String> ]   -Trigger <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Removes a trigger from the specified task.

PARAMETERS

-Task<String>
Name or ID that identifies the task.

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

-Trigger<Object>
The TaskTriggerData object, name or ID that identifies the trigger to remove. Trigger can be attained by invoking Get-DcsTrigger.

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

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is 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

TaskTriggerData : Object that identifies and describes the trigger.

OUTPUTS

NOTES

Also see Add-DcsTrigger, Add-DcsTask, Get-DcsTask, Remove-DcsAction, Remove-DcsTask.

EXAMPLES


-------------- Example 1 Removes a trigger specified by name --------------
Remove-DcsTrigger -Task MonitorPoolUsage -Trigger  "Available space of Disk Pools >= Attention"
		

Removes the action named "Available space of Disk Pools >= Attention" from the task named "MonitorPoolUsage". The name "Available space of Disk Pools >= Attention" appears in the caption of the TaskTriggerData object.