NAME

Get-DcsAction

SYNOPSIS

Returns actions associated with a task.

SYNTAX

Get-DcsAction   [ -Task <String> ]   [ -Action <Object> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Returns actions associated with a task. One specific action or all actions for the specified task will be be returned.

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. If the action is specified, only that action will be returned. If not specified, all actions will be returned.

Required: false
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 of a task.

OUTPUTS

TaskActionData : Object the identifies and describes the action of a task.

NOTES

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

EXAMPLES


-------------- Example 1 Returns all actions for a task specified by name --------------
Get-DcsAction -Task "Task 1"
		

Returns all actions (2) associated with the task named "Task 1".

RecipientId:9b400063-4e5f-4652-be8a-b3eba1dde95a
TaskId:32651f76-72e9-4852-ba35-0b111eaa7808
Type:SendNotification
Id:8442e56b-a1c9-4485-8b45-8d08ce9c3bd4
Caption:Send email to Moe Howard
ExtendedCaption:
Internal:False
   
RecipientId:d8e402d3-8458-4948-912b-95c0b77eb2f1
TaskId:32651f76-72e9-4852-ba35-0b111eaa7808
Type:SendNotification
Id:6bb6302b-3530-4a65-a65f-06735c835bbb
Caption:Send email to Curly Howard
ExtendedCaption:
Internal:False