Complete-Job

OBSOLETE. Use PowerShell's Wait-Job cmdlet instead. Will be removed in a future major version of Carbon.

Syntax

Complete-Job [-Job] <Job[]> [[-IntervalSeconds] <Int32>] [<CommonParameters>]

Description

OBSOLETE. Use PowerShell's Wait-Job cmdlet instead. Will be removed in a future major version of Carbon.

Parameters

Name Type Description Required? Pipeline Input Default Value
Job Job[]

The jobs to complete.

true false
IntervalSeconds Int32

The number of seconds to sleep between job status checks. Default is 1 second.

false false 1

EXAMPLE 1

Get-Job | Wait-Job

Demonstrates that Complete-Job is OBSOLETE and you should use PowerShell's Wait-Job cmdlet instead.