NAME
Remove-DcsAction
SYNOPSIS
Removes an action from the specified task.
SYNTAX
Remove-DcsAction [ -Task <String> ] -Action <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Removes an action 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
-
- -Action<Object>
- TaskActionData object, name or ID that identifies the action to remove. Actions can be attained by invoking Get-DcsAction.
-
- 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
TaskActionData : Object the identifies and describes the action.
OUTPUTS
NOTES
Also see Get-DcsAction, Remove-DcsTask, Remove-DcsTrigger.
EXAMPLES
-------------- Example 1 Removes an action specified by name (caption) --------------
Remove-DcsAction -Task Reclaim_VirtualDisks -Action "Initiates space reclamation on Virtual disk 3"
Removes the action named (caption) "Initiates space reclamation on Virtual disk 3" from the task named "Reclaim_VirtualDisks".