The Get-AzBatchJobPreparationAndReleaseTaskStatus cmdlet gets the Azure Batch job preparation and release task status for a Batch job.
You must supply the Id parameter or a PSCloudJob instance to this cmdlet.
Examples
Example 1: Get the job preparation and release status of a job
Get-AzBatchJobPreparationAndReleaseTaskStatus -BatchContext $Context -Id Test
This command gets the job preparation and release task status for job "Test".
Use the Get-AzBatchAccountKey cmdlet to assign a context to the $Context variable.
Example 2: Get the job preparation and release status of a job with Filter and Select specified
This command gets the job preparation and release task status for job "Test" on node "tvm-2316545714_1-20170613t201733z" and uses the Select clause to specify to only return the JobPreparationTaskExecutionInformation information
Parameters
-BatchContext
The BatchAccountContext instance to use when interacting with the Batch service.
Use the Get-AzBatchAccountKey cmdlet to get a BatchAccountContext object with its access keys populated.
Specifies a PSCloudJob object that represents the job to get the preparation and release task status from.
To obtain a PSCloudJob object, use the Get-AzBatchJob cmdlet.
Specifies the maximum number of jobs preparation and release task status' to return.
If you specify a value of zero (0) or less, the cmdlet does not use an upper limit.
The default value is 1000.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.