Az.Batch

4.1.3

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

For information on Batch, please visit the following: https://learn.microsoft.com/azure/batch/

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name Az.Batch

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Az.Batch

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

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Azure ResourceManager ARM Batch

Cmdlets

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

PSEditions

Core Desktop

Dependencies

Release Notes

* Changed 'New-AzBatchApplicationPackage' to attempt cleanup after a failed upload only if the version was not found before the create or update request and the later read shows it 'Pending' with the same non-blank ETag. Another upload of the same version can still race with the delete.
* Fixed 'New-AzBatchComputeNodeUser' and 'Set-AzBatchComputeNodeUser' sending the expiry time 0001-01-01 when '-ExpiryTime' isn't specified. They now omit 'expiryTime' when it isn't specified, so the service default applies.
* Fixed 'Get-AzBatchSupportedVirtualMachineSku -MaxResultCount' returning every VM size. It now returns at most that many.
* Fixed 'New-AzBatchPool', 'Set-AzBatchPool', 'New-AzBatchTask' and other cmdlets failing with 'Object reference not set to an instance of an object' when an environment setting has no value.
* Fixed 'Set-AzBatchPool', 'New-AzBatchTask' and other cmdlets dropping the identity reference of resource files, which nodes use to download the files from Azure Storage.
* Fixed 'New-AzBatchPool', 'New-AzBatchTask', 'New-AzBatchJob' and other cmdlets sending an empty bind mount list, which mounts no folders into the container, when 'ContainerHostBatchBindMounts' of a 'PSTaskContainerSettings' object was set or changed after the object was created.
* Started moving Az.Batch from 'Microsoft.Azure.Batch' (Track 1) to 'Azure.Compute.Batch' (Track 2). No cmdlet uses the new SDK yet.
   - Added 'Azure.Compute.Batch' 1.0.0 as a dependency.
   - Added a conversion that shows 'Azure.Compute.Batch' errors the same way as today's errors.
   - Added helpers that keep '-MaxCount', '-Select' and '-Expand' working the same way with 'Azure.Compute.Batch'.
   - Added workarounds for three 'Azure.Compute.Batch' 1.0.0 issues until a newer version fixes them: counts and sizes the service sends as numbers, registry server addresses, and VM extension settings that aren't text.
   - Added the mapping between 'Azure.Compute.Batch' and the PS objects that several cmdlets share (start task, resource files, user identity, container settings, application packages, metadata).
   - Added reading statistics in full precision: 'Azure.Compute.Batch' 1.0.0 keeps only about 7 digits of 16 statistics values.

FileList

Version History

Version Downloads Last updated
4.1.3 (current version) 578,093 11/30/2026
4.1.2 1,458,343 11/15/2026
4.1.1 17,381,282 7/7/2026
4.1.0 8,402,673 6/2/2026
4.0.1 28,831,723 1/13/2026
4.0.0 10,489,027 11/18/2025
3.7.1 16,385,645 9/2/2025
3.7.0 38,696,521 1/14/2025
3.6.4 12,691,488 11/11/2024
3.6.3 6,829,971 9/3/2024
3.6.2 5,658,826 7/9/2024
3.6.1 4,860,907 5/21/2024
3.6.0 2,138,349 4/30/2024
3.5.0 21,353,300 8/1/2023
3.4.0 6,645,189 4/4/2023
3.3.0 5,269,987 1/10/2023
3.2.1 6,852,598 8/9/2022
3.2.0 10,646,856 4/26/2022
3.1.1 5,622,610 11/2/2021
3.1.0 26,540,581 6/23/2020
3.0.0 758,024 5/19/2020
2.0.2 4,774,010 12/17/2019
2.0.1 1,434,743 11/4/2019
2.0.0-preview 172 9/25/2019
1.1.2 1,202,159 10/15/2019
1.1.1 525,973 8/27/2019
1.1.0 1,556,296 4/23/2019
1.0.1-preview 199 3/4/2019
1.0.0 430,626 12/18/2018
0.7.0 12,128 12/4/2018
0.6.1 10,688 11/21/2018
0.5.0 9,700 11/6/2018
0.4.0 11,065 10/23/2018
0.3.0 11,024 10/9/2018
0.2.2 4,727 9/24/2018
0.1.0 353 8/28/2018
Show more