Az.Compute
4.16.0
For more information on Virtual Machines, please visit the following: https://docs.microsoft.com/azure/virtual-machines/
For more information on Virtu
For more information on Virtual Machines, please visit the following: https://docs.microsoft.com/azure/virtual-machines/
For more information on Virtual Machine Scale Sets, please visit the following: https://docs.microsoft.com/azure/virtual-machine-scale-sets/
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Tags
Azure ResourceManager ARM Compute IAAS VM VirtualMachine
Cmdlets
Remove-AzAvailabilitySet Get-AzAvailabilitySet New-AzAvailabilitySet Update-AzAvailabilitySet Get-AzVMExtensionImageType Get-AzVMExtensionImage Get-AzVMADDomainExtension Set-AzVMADDomainExtension Get-AzVMAEMExtension Remove-AzVMAEMExtension Set-AzVMAEMExtension Test-AzVMAEMExtension Set-AzVMBginfoExtension Get-AzVMCustomScriptExtension Remove-AzVMCustomScriptExtension Set-AzVMCustomScriptExtension Get-AzVMDiagnosticsExtension Remove-AzVMDiagnosticsExtension Remove-AzVmssDiagnosticsExtension Set-AzVMDiagnosticsExtension Set-AzVMExtension Remove-AzVMExtension Get-AzVMExtension Get-AzVMSqlServerExtension New-AzVMSqlServerAutoBackupConfig New-AzVMSqlServerAutoPatchingConfig New-AzVMSqlServerKeyVaultCredentialConfig Remove-AzVMSqlServerExtension Set-AzVMSqlServerExtension Get-AzVMImage Get-AzVMAccessExtension Remove-AzVMAccessExtension Set-AzVMAccessExtension Get-AzVMImageSku Get-AzVMImagePublisher Get-AzVMImageOffer Get-AzRemoteDesktopFile Get-AzVMUsage Get-AzVMSize Save-AzVMImage Set-AzVM Add-AzVMAdditionalUnattendContent Add-AzVMSshPublicKey Add-AzVMSecret Remove-AzVMSecret Remove-AzVMNetworkInterface Remove-AzVMDataDisk Set-AzVMBootDiagnostic Set-AzVMDataDisk Set-AzVMPlan Set-AzVMSourceImage Set-AzVMOSDisk Set-AzVmSecurityProfile Set-AzVmUefi Get-AzVMBootDiagnosticsData Get-AzVM Update-AzVM Restart-AzVM New-AzVM Start-AzVM Stop-AzVM Remove-AzVM New-AzVMConfig Set-AzVMOperatingSystem Add-AzVMDataDisk Add-AzVMNetworkInterface Add-AzVhd Save-AzVhd Get-AzVmssVM Set-AzVmssVM Add-AzVmssAdditionalUnattendContent Add-AzVmssExtension Add-AzVmssDataDisk Add-AzVmssNetworkInterfaceConfiguration Add-AzVmssSecret Add-AzVmssSshPublicKey Add-AzVmssWinRMListener New-AzVmssConfig New-AzVmssIpConfig New-AzVmssVaultCertificateConfig Remove-AzVmssExtension Remove-AzVmssDataDisk Remove-AzVmssNetworkInterfaceConfiguration Set-AzVmssOsProfile Set-AzVmssSecurityProfile Set-AzVmssUefi Set-AzVmssStorageProfile New-AzVmss Update-AzVmss Stop-AzVmss Remove-AzVmss Get-AzVmss Get-AzVmssSku Set-AzVmss Restart-AzVmss Start-AzVmss Update-AzVmssInstance Get-AzVMDscExtensionStatus Publish-AzVMDscConfiguration Remove-AzVMDscExtension Set-AzVMDscExtension Get-AzVMDscExtension Add-AzVmssDiagnosticsExtension Get-AzVMChefExtension Remove-AzVMChefExtension Set-AzVMChefExtension Remove-AzVMBackup Disable-AzVMDiskEncryption Get-AzVMDiskEncryptionStatus Remove-AzVMDiskEncryptionExtension Set-AzVMDiskEncryptionExtension Set-AzVMBackupExtension New-AzDisk Update-AzDisk Get-AzDisk Remove-AzDisk Grant-AzDiskAccess Revoke-AzDiskAccess New-AzDiskConfig Set-AzDiskDiskEncryptionKey Set-AzDiskImageReference Set-AzDiskKeyEncryptionKey New-AzDiskUpdateConfig Set-AzDiskUpdateDiskEncryptionKey Set-AzDiskUpdateKeyEncryptionKey New-AzSnapshot Update-AzSnapshot Get-AzSnapshot Remove-AzSnapshot Grant-AzSnapshotAccess Revoke-AzSnapshotAccess New-AzSnapshotConfig Set-AzSnapshotDiskEncryptionKey Set-AzSnapshotImageReference Set-AzSnapshotKeyEncryptionKey New-AzSnapshotUpdateConfig Set-AzSnapshotUpdateDiskEncryptionKey Set-AzSnapshotUpdateKeyEncryptionKey New-AzImage Update-AzImage Get-AzImage Remove-AzImage New-AzImageConfig Set-AzImageOsDisk Add-AzImageDataDisk Remove-AzImageDataDisk ConvertTo-AzVMManagedDisk Set-AzVmssBootDiagnostic Get-AzComputeResourceSku Get-AzVMRunCommandDocument Invoke-AzVMRunCommand Start-AzVmssRollingOSUpgrade Stop-AzVmssRollingUpgrade Get-AzVmssRollingUpgrade Set-AzVmssRollingUpgradePolicy Set-AzVmssDiskEncryptionExtension Disable-AzVmssDiskEncryption Get-AzVmssDiskEncryption Get-AzVmssVMDiskEncryption Export-AzLogAnalyticRequestRateByInterval Export-AzLogAnalyticThrottledRequest Repair-AzVmssServiceFabricUpdateDomain New-AzVMDataDisk Update-AzVmssVM New-AzVmssIpTagConfig Invoke-AzVmssVMRunCommand New-AzGallery Update-AzGallery Get-AzGallery Remove-AzGallery New-AzGalleryImageDefinition Update-AzGalleryImageDefinition Get-AzGalleryImageDefinition Remove-AzGalleryImageDefinition New-AzGalleryImageVersion Update-AzGalleryImageVersion Get-AzGalleryImageVersion Remove-AzGalleryImageVersion Add-AzVmssVMDataDisk Remove-AzVmssVMDataDisk Invoke-AzVMReimage New-AzProximityPlacementGroup Get-AzProximityPlacementGroup Remove-AzProximityPlacementGroup New-AzHostGroup Get-AzHostGroup Remove-AzHostGroup New-AzHost Get-AzHost Remove-AzHost New-AzDiskEncryptionSetConfig New-AzDiskEncryptionSet Get-AzDiskEncryptionSet Remove-AzDiskEncryptionSet Update-AzDiskEncryptionSet Set-AzVmssOrchestrationServiceState New-AzDiskAccess Remove-AzDiskAccess Get-AzDiskAccess Invoke-AzVmPatchAssessment Get-AzDiskEncryptionSetAssociatedResource Start-AzVmssRollingExtensionUpgrade Invoke-AzVmInstallPatch Get-AzSshKey Remove-AzSshkey Update-AzSshKey New-AzSshKey New-AzDiskPurchasePlanConfig Set-AzDiskSecurityProfile New-AzCapacityReservationGroup Remove-AzCapacityReservationGroup Get-AzCapacityReservationGroup New-AzCapacityReservation Get-AzCapacityReservation Remove-AzCapacityReservation
PSEditions
Dependencies
-
- Az.Accounts (>= 2.5.1)
Release Notes
* Fixed the warning in 'New-AzVM' cmdlet stating the sku of the VM is being defaulted even if a sku size is provided by the user. Now it only occurs when the user does not provide a sku size.
* Edited 'Set-AzVmOperatingSystem' cmdlet to no longer overwrite any existing EnableAutomaticUpdates value on the passed in virtual machine if it exists.
* Updated Compute module to use the latest .Net SDK version 48.0.0.
* Added new cmdlets for the Capacity Reservation Feature:
- 'New-AzCapacityReservationGroup'
- 'Remove-AzCapacityReservationGroup'
- 'Get-AzCapacityReservationGroup'
- 'New-AzCapacityReservation'
- 'Remove-AzCapacityReservation'
- 'Get-AzCapacityReservation'
* Added a new parameter '-CapacityReservationGroupId' to the following cmdlets:
- 'New-AzVm'
- 'New-AzVmConfig'
- 'New-AzVmss'
- 'New-AzVmssConfig'
- 'Update-AzVm'
- 'Update-AzVmss'
FileList
- Az.Compute.nuspec
- AutoMapper.dll
- Az.Compute.psd1
- Az.Compute.psm1
- Compute.Automation.generated.format.ps1xml
- Compute.format.ps1xml
- Compute.generated.format.ps1xml
- Microsoft.Azure.Management.Compute.dll
- Microsoft.Azure.PowerShell.Cmdlets.Compute.deps.json
- Microsoft.Azure.PowerShell.Cmdlets.Compute.dll
- Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
- Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.deps.json
- Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.dll
- Microsoft.WindowsAzure.Storage.dll
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 11.1.0 | 3,296,385 | 12/2/2025 |
| 11.0.0 | 3,197,239 | 11/18/2025 |
| 10.5.0 | 3,255,749 | 11/4/2025 |
| 10.4.0 | 4,680,319 | 10/14/2025 |
| 10.3.0 | 9,374,402 | 9/2/2025 |
| 10.2.0 | 6,111,598 | 8/5/2025 |
| 10.1.0 | 915,330 | 7/8/2025 |
| 10.0.1 | 11,435,583 | 6/3/2025 |
| 10.0.0 | 2,772,452 | 5/19/2025 |
| 9.3.0 | 3,429,374 | 5/6/2025 |
| 9.2.0 | 5,688,068 | 4/1/2025 |
| 9.1.0 | 7,109,654 | 2/11/2025 |
| 9.0.1 | 5,062,393 | 1/14/2025 |
| 9.0.0 | 7,700,211 | 11/19/2024 |
| 8.5.0 | 7,838,415 | 11/11/2024 |
| 8.4.0 | 35,328,688 | 10/8/2024 |
| 8.3.0 | 3,227,252 | 9/3/2024 |
| 8.2.0 | 2,234,435 | 8/6/2024 |
| 8.1.0 | 2,805,684 | 7/9/2024 |
| 8.0.0 | 7,670,370 | 5/21/2024 |
| 7.3.0 | 2,053,782 | 4/30/2024 |
| 7.2.0 | 1,924,294 | 4/2/2024 |
| 7.1.2 | 2,020,418 | 3/5/2024 |
| 7.1.1 | 3,783,230 | 1/9/2024 |
| 7.1.0 | 1,990,917 | 12/5/2023 |
| 7.0.0 | 1,562,602 | 11/14/2023 |
| 6.3.0 | 8,789,719 | 9/5/2023 |
| 6.2.0 | 1,637,221 | 8/1/2023 |
| 6.1.0 | 1,323,175 | 7/4/2023 |
| 6.0.0 | 1,812,663 | 5/23/2023 |
| 5.7.1 | 2,948,912 | 4/25/2023 |
| 5.7.0 | 989,396 | 4/4/2023 |
| 5.6.0 | 71,797 | 3/21/2023 |
| 5.5.0 | 1,642,773 | 3/9/2023 |
| 5.4.0 | 2,570,046 | 2/7/2023 |
| 5.3.0 | 1,570,463 | 1/10/2023 |
| 5.2.0 | 1,449,518 | 12/6/2022 |
| 5.1.1 | 831,181 | 11/17/2022 |
| 5.1.0 | 702,669 | 11/1/2022 |
| 5.0.0 | 2,595,203 | 10/17/2022 |
| 4.31.0 | 2,322,963 | 9/6/2022 |
| 4.30.0 | 1,154,285 | 7/19/2022 |
| 4.29.0 | 826,680 | 7/5/2022 |
| 4.28.0 | 34,966 | 6/20/2022 |
| 4.27.0 | 4,244,547 | 5/24/2022 |
| 4.26.0 | 4,550,869 | 4/26/2022 |
| 4.25.0 | 485,745 | 4/5/2022 |
| 4.24.1 | 642,158 | 3/12/2022 |
| 4.24.0 | 337,828 | 3/1/2022 |
| 4.23.0 | 573,653 | 2/7/2022 |
| 4.22.0 | 871,698 | 1/4/2022 |
| 4.21.0 | 608,492 | 12/7/2021 |
| 4.20.0 | 5,554,895 | 11/5/2021 |
| 4.19.0 | 8,429 | 11/4/2021 |
| 4.18.0 | 2,379,749 | 11/2/2021 |
| 4.17.1 | 579,181 | 10/12/2021 |
| 4.17.0 | 840,180 | 9/7/2021 |
| 4.16.0 (current version) | 721,931 | 8/3/2021 |
| 4.15.0 | 668,826 | 7/6/2021 |
| 4.14.0 | 445,783 | 6/15/2021 |
| 4.13.0 | 439,316 | 5/25/2021 |
| 4.12.0 | 3,591,917 | 5/4/2021 |
| 4.11.0 | 556,992 | 4/13/2021 |
| 4.10.0 | 1,309,568 | 3/2/2021 |
| 4.9.0 | 940,160 | 2/9/2021 |
| 4.8.0 | 3,190,662 | 12/29/2020 |
| 4.7.0 | 1,405,993 | 12/8/2020 |
| 4.6.0 | 3,431,658 | 10/27/2020 |
| 4.5.0 | 4,429,956 | 10/13/2020 |
| 4.4.0 | 287,490 | 9/22/2020 |
| 4.3.1 | 1,844,965 | 8/28/2020 |
| 4.3.0 | 125,904 | 8/25/2020 |
| 4.2.1 | 834,941 | 7/14/2020 |
| 4.2.0 | 437,881 | 6/23/2020 |
| 4.1.0 | 767,432 | 5/19/2020 |
| 3.7.0 | 2,153,909 | 4/16/2020 |
| 3.6.0 | 311,561 | 3/31/2020 |
| 3.5.0 | 901,035 | 2/18/2020 |
| 3.4.0 | 688,477 | 1/13/2020 |
| 3.3.0 | 581,346 | 1/7/2020 |
| 3.2.0 | 337,073 | 12/17/2019 |
| 3.1.0 | 788,031 | 11/26/2019 |
| 3.0.0 | 482,502 | 11/4/2019 |
| 2.7.0 | 1,163,032 | 10/15/2019 |
| 2.6.0 | 193,855 | 9/24/2019 |
| 2.5.0 | 345,878 | 8/27/2019 |
| 2.4.2-preview | 1,519 | 8/1/2019 |
| 2.4.1 | 432,359 | 7/30/2019 |
| 2.4.0 | 295,367 | 7/2/2019 |
| 2.3.0 | 183,052 | 6/18/2019 |
| 2.2.0 | 83,745 | 6/4/2019 |
| 2.1.0 | 77,298 | 5/21/2019 |
| 2.0.0 | 120,427 | 5/6/2019 |
| 1.8.0 | 374,137 | 4/23/2019 |
| 1.7.0 | 58,345 | 4/9/2019 |
| 1.6.0 | 91,307 | 3/26/2019 |
| 1.5.0 | 59,284 | 3/12/2019 |
| 1.4.0 | 47,140 | 2/26/2019 |
| 1.3.0 | 36,577 | 2/12/2019 |
| 1.2.0 | 32,747 | 1/29/2019 |
| 1.1.0 | 82,335 | 1/15/2019 |
| 1.0.0 | 65,142 | 12/18/2018 |
| 0.10.0-preview | 15,626 | 4/15/2020 |
| 0.7.0 | 15,638 | 12/4/2018 |
| 0.6.1 | 12,377 | 11/21/2018 |
| 0.5.0 | 13,507 | 11/6/2018 |
| 0.4.0 | 14,343 | 10/23/2018 |
| 0.3.0 | 14,237 | 10/9/2018 |
| 0.2.2 | 8,133 | 9/24/2018 |
| 0.1.0 | 3,759 | 8/28/2018 |