NAME

Get-DcsTrigger

SYNOPSIS

Returns triggers associated with a task.

SYNTAX

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

DESCRIPTION

Returns triggers associated with a task. Filtering parameters may be specified to narrow the scope of the data returned. One specific trigger or all triggers for the specified task will be returned.

PARAMETERS

-Task<String>
Name or ID that identifies a task. If specified, only data for that task will be returned.

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

-Trigger<Object>
The name or ID of a trigger. If specified, only data for that trigger 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

TaskTriggerData : Object identifying and describing the trigger of a task.

OUTPUTS

TaskTriggerData : Object identifying and describing the trigger of a task.

NOTES

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

EXAMPLES


-------------- Example 1 Returns data for a task specified by name --------------
Get-DcsTrigger -Task ReclaimVD1
		

Returns all triggers for the task named "ReclaimVD1". In this case, there is one trigger.

Weekdays:False
DailyInterval:1
Recurrence:Daily
SignalDuration:0
StartTime:8/13/2011 3:30:00 AM
TaskId:0f028eee-1954-4d2a-8787-a36ba47a472f
Type:ScheduledTrigger
Description:
Id:a230c41f-ebad-4c6f-b47c-5b0495cb4396
Caption:Every 1 days at 23:30:00, starting on 8/12/2011 11:30:00 PM
ExtendedCaption:
Internal:False