< Back
Get-AzureBatchJobPreparationAndReleaseTaskStatus
Post
NAME Get-AzureBatchJobPreparationAndReleaseTaskStatus
SYNOPSIS
Gets Batch job preparation and release task status.
SYNTAX
Get-AzureBatchJobPreparationAndReleaseTaskStatus [-Id] <String> -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer>]
[-Expand <String>] [-Filter <String>] [-MaxCount <Int32>] [-Select <String>] [<CommonParameters>]
Get-AzureBatchJobPreparationAndReleaseTaskStatus [-InputObject] <PSCloudJob> -BatchContext <BatchAccountContext> [-DefaultProfile
<IAzureContextContainer>] [-Expand <String>] [-Filter <String>] [-MaxCount <Int32>] [-Select <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureBatchJobPreparationAndReleaseTaskStatus 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.
PARAMETERS
-BatchContext <BatchAccountContext>
The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a
BatchAccountContext object with its access keys populated.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Expand <String>
Specifies an Open Data Protocol (OData) expand clause. Specify a value for this parameter to get associated entities of the main entity that
you get.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Filter <String>
Specifies an OData filter clause. If you do not specify a filter, this cmdlet returns all job preparation and release task status' for the job.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <String>
Specifies the ID of the job whose preparation and release tasks should be retrieved. You cannot specify wildcard characters.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSCloudJob>
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-AzureBatchJob cmdlet.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-MaxCount <Int32>
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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Select <String>
Specifies an OData select clause. Specify a value for this parameter to get specific properties rather than all object properties.
Required? false
Position? named
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
System.String
Microsoft.Azure.Commands.Batch.Models.PSCloudJob Microsoft.Azure.Commands.Batch.BatchAccountContext
OUTPUTS
Microsoft.Azure.Commands.Batch.Models.PSJobPreparationAndReleaseTaskExecutionInformation
NOTES
Example 1: Get the job preparation and release status of a job
PS C:\\> Get-AzureBatchJobPreparationAndReleaseTaskStatus -BatchContext $Context -Id Test
ComputeNodeId : tvm-2316545714_1-20170613t201733z
ComputeNodeUrl : https://account.westus.batch.azure.com/ ... 13t201733z
JobPreparationTaskExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobPreparationTaskExecutionInformation
JobReleaseTaskExecutionInformation :
PoolId : test
This command gets the job preparation and release task status for job "Test". Use the Get-AzureRmBatchAccountKeys 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
PS C:\\> Get-AzureBatchJobPreparationAndReleaseTaskStatus -BatchContext $context -Id Test -Filter "nodeId eq 'tvm-2316545714_1-20170613t201733z'"
-Select "jobPreparationTaskExecutionInfo"
ComputeNodeId :
ComputeNodeUrl :
JobPreparationTaskExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobPreparationTaskExecutionInformation
JobReleaseTaskExecutionInformation :
PoolId :
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
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... taskstatus
Get-AzureBatchJob
Azure Batch Cmdlets
SYNOPSIS
Gets Batch job preparation and release task status.
SYNTAX
Get-AzureBatchJobPreparationAndReleaseTaskStatus [-Id] <String> -BatchContext <BatchAccountContext> [-DefaultProfile <IAzureContextContainer>]
[-Expand <String>] [-Filter <String>] [-MaxCount <Int32>] [-Select <String>] [<CommonParameters>]
Get-AzureBatchJobPreparationAndReleaseTaskStatus [-InputObject] <PSCloudJob> -BatchContext <BatchAccountContext> [-DefaultProfile
<IAzureContextContainer>] [-Expand <String>] [-Filter <String>] [-MaxCount <Int32>] [-Select <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureBatchJobPreparationAndReleaseTaskStatus 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.
PARAMETERS
-BatchContext <BatchAccountContext>
The BatchAccountContext instance to use when interacting with the Batch service. Use the Get-AzureRmBatchAccountKeys cmdlet to get a
BatchAccountContext object with its access keys populated.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Expand <String>
Specifies an Open Data Protocol (OData) expand clause. Specify a value for this parameter to get associated entities of the main entity that
you get.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Filter <String>
Specifies an OData filter clause. If you do not specify a filter, this cmdlet returns all job preparation and release task status' for the job.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <String>
Specifies the ID of the job whose preparation and release tasks should be retrieved. You cannot specify wildcard characters.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSCloudJob>
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-AzureBatchJob cmdlet.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-MaxCount <Int32>
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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Select <String>
Specifies an OData select clause. Specify a value for this parameter to get specific properties rather than all object properties.
Required? false
Position? named
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
System.String
Microsoft.Azure.Commands.Batch.Models.PSCloudJob Microsoft.Azure.Commands.Batch.BatchAccountContext
OUTPUTS
Microsoft.Azure.Commands.Batch.Models.PSJobPreparationAndReleaseTaskExecutionInformation
NOTES
Example 1: Get the job preparation and release status of a job
PS C:\\> Get-AzureBatchJobPreparationAndReleaseTaskStatus -BatchContext $Context -Id Test
ComputeNodeId : tvm-2316545714_1-20170613t201733z
ComputeNodeUrl : https://account.westus.batch.azure.com/ ... 13t201733z
JobPreparationTaskExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobPreparationTaskExecutionInformation
JobReleaseTaskExecutionInformation :
PoolId : test
This command gets the job preparation and release task status for job "Test". Use the Get-AzureRmBatchAccountKeys 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
PS C:\\> Get-AzureBatchJobPreparationAndReleaseTaskStatus -BatchContext $context -Id Test -Filter "nodeId eq 'tvm-2316545714_1-20170613t201733z'"
-Select "jobPreparationTaskExecutionInfo"
ComputeNodeId :
ComputeNodeUrl :
JobPreparationTaskExecutionInformation : Microsoft.Azure.Commands.Batch.Models.PSJobPreparationTaskExecutionInformation
JobReleaseTaskExecutionInformation :
PoolId :
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
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... taskstatus
Get-AzureBatchJob
Azure Batch Cmdlets