Microsoft Azure PowerShell - Batch service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.

For information on Batch, please visit the following:

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.Batch -RequiredVersion 3.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


Microsoft Corporation. All rights reserved.

Package Details



Azure ResourceManager ARM Batch


Remove-AzBatchAccount Get-AzBatchAccount Get-AzBatchAccountKey New-AzBatchAccount New-AzBatchAccountKey Set-AzBatchAccount New-AzBatchApplicationPackage Get-AzBatchJobStatistic Remove-AzBatchApplication Remove-AzBatchApplicationPackage Get-AzBatchApplicationPackage Get-AzBatchApplication Set-AzBatchApplication New-AzBatchApplication Get-AzBatchCertificate Remove-AzBatchCertificate New-AzBatchCertificate Stop-AzBatchCertificateDeletion Disable-AzBatchComputeNodeScheduling Enable-AzBatchComputeNodeScheduling Get-AzBatchRemoteLoginSetting Remove-AzBatchComputeNode Reset-AzBatchComputeNode Restart-AzBatchComputeNode Set-AzBatchComputeNodeUser Get-AzBatchNodeFile Get-AzBatchNodeFileContent Get-AzBatchRemoteDesktopProtocolFile Remove-AzBatchNodeFile Disable-AzBatchJobSchedule Enable-AzBatchJobSchedule Set-AzBatchJobSchedule Stop-AzBatchJobSchedule Disable-AzBatchJob Enable-AzBatchJob New-AzBatchJob Remove-AzBatchJob Set-AzBatchJob Stop-AzBatchJob Get-AzBatchJob Get-AzBatchJobPreparationAndReleaseTaskStatus Disable-AzBatchAutoScale Enable-AzBatchAutoScale Get-AzBatchPoolStatistic Get-AzBatchPoolUsageMetric Get-AzBatchPool Get-AzBatchSupportedImage New-AzBatchPool Remove-AzBatchPool Set-AzBatchPool Start-AzBatchPoolResize Stop-AzBatchPoolResize Test-AzBatchAutoScale Get-AzBatchLocationQuota Get-AzBatchSubtask Get-AzBatchTask New-AzBatchTask Remove-AzBatchTask New-AzBatchComputeNodeUser Remove-AzBatchComputeNodeUser Enable-AzBatchTask Set-AzBatchTask Stop-AzBatchTask Get-AzBatchComputeNode Get-AzBatchJobSchedule New-AzBatchJobSchedule Remove-AzBatchJobSchedule Get-AzBatchTaskCount Get-AzBatchPoolNodeCount Start-AzBatchComputeNodeServiceLogUpload New-AzBatchResourceFile


Core Desktop


Release Notes

* Updated Az.Batch to use 'Microsoft.Azure.Batch' SDK version 13.0.0 and 'Microsoft.Azure.Management.Batch' SDK version 9.0.0.
* Added the ability to select the kind of certificate being added using the new '-CertificateKind' parameter to 'New-AzBatchCertificate'.
* Removed 'ApplicationPackages' property from 'PSApplication' which was previously always ''.
 - The specific packages inside of an application now can be retrieved using 'Get-AzBatchApplicationPackage'. For example: 'Get-AzBatchApplication -AccountName myaccount -ResourceGroupName myresourcegroup -ApplicationId myapplication'.
* When creating a pool using 'New-AzBatchPool', the 'VirtualMachineImageId' property of 'PSImageReference' can now only refer to a Shared Image Gallery image.
* When creating a pool using 'New-AzBatchPool', the pool can be provisioned without a public IP using the new 'PublicIPAddressConfiguration' property of 'PSNetworkConfiguration'.
 - The 'PublicIPs' property of 'PSNetworkConfiguration' has moved in to 'PSPublicIPAddressConfiguration' as well. This property can only be specified if 'IPAddressProvisioningType' is 'UserManaged'.


Version History

Version Downloads Last updated
3.4.0 2,423,120 4/4/2023
3.3.0 3,498,726 1/10/2023
3.2.1 4,966,037 8/9/2022
3.2.0 6,024,379 4/26/2022
3.1.1 4,326,631 11/2/2021
3.1.0 21,699,883 6/23/2020
3.0.0 (current version) 728,426 5/19/2020
2.0.2 4,315,131 12/17/2019
2.0.1 1,247,292 11/4/2019
2.0.0-preview 150 9/25/2019
1.1.2 944,424 10/15/2019
1.1.1 513,964 8/27/2019
1.1.0 1,462,150 4/23/2019
1.0.1-preview 170 3/4/2019
1.0.0 417,316 12/18/2018
0.7.0 12,102 12/4/2018
0.6.1 10,573 11/21/2018
0.5.0 9,672 11/6/2018
0.4.0 11,036 10/23/2018
0.3.0 10,993 10/9/2018
0.2.2 4,698 9/24/2018
0.1.0 308 8/28/2018
Show less