This project is read-only.

NAME

Wait-HPOVTaskStart

SYNOPSIS

Wait for a task to start.

SYNTAX

Wait-HPOVTaskStart [-task] <Object> [[-timeout] <TimeSpan>] [<CommonParameters>]</object>

DESCRIPTION

Wait for the given task to "start" (get beyond validation phase) or timeout

PARAMETERS

-Task <Object>
Alias (‘taskuri’)
The uri or object of the task resource to wait for.
Required? true
Position? 1
Default value <none>           
Accept pipeline input? false
Accept wildcard characters? false
-timeout <TimeSpan>
The time or object to wait for the task to start.  Default is to wait for 2 minutes.
Required? true
Position? 2
Default value <none>           
Accept pipeline input? false
Accept wildcard characters? false


<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None.

OUTPUTS

Task completion or error message.

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS C:\> Wait-HPOVTaskstart /rest/tasks/F08EE040-DBA7-4806-BB62-993DD0CB4250
PS C:\> Waiting for task to start...Task started!
Wait for task to start.

Last edited Feb 3, 2014 at 5:53 AM by ChrisLynchHP, version 5