< Back
Complete-CJob
Post
NAME Complete-CJob
SYNOPSIS
OBSOLETE. Use PowerShell's `Wait-Job` cmdlet instead. Will be removed in a future major version of Carbon.
SYNTAX
Complete-CJob [-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
-Job <Job[]>
The jobs to complete.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IntervalSeconds <Int32>
The number of seconds to sleep between job status checks. Default is 1 second.
Required? false
Position? 2
Default value 1
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-Job | Wait-Job
Demonstrates that `Complete-CJob` is OBSOLETE and you should use PowerShell's `Wait-Job` cmdlet instead.
RELATED LINKS
SYNOPSIS
OBSOLETE. Use PowerShell's `Wait-Job` cmdlet instead. Will be removed in a future major version of Carbon.
SYNTAX
Complete-CJob [-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
-Job <Job[]>
The jobs to complete.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IntervalSeconds <Int32>
The number of seconds to sleep between job status checks. Default is 1 second.
Required? false
Position? 2
Default value 1
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-Job | Wait-Job
Demonstrates that `Complete-CJob` is OBSOLETE and you should use PowerShell's `Wait-Job` cmdlet instead.
RELATED LINKS