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 |
---|---|---|
10.4.0 | 801,975 | 10/14/2025 |
10.3.0 | 9,326,442 | 9/2/2025 |
10.2.0 | 6,087,207 | 8/5/2025 |
10.1.0 | 914,303 | 7/8/2025 |
10.0.1 | 11,412,761 | 6/3/2025 |
10.0.0 | 2,707,063 | 5/19/2025 |
9.3.0 | 3,144,219 | 5/6/2025 |
9.2.0 | 5,671,932 | 4/1/2025 |
9.1.0 | 7,014,985 | 2/11/2025 |
9.0.1 | 5,045,231 | 1/14/2025 |
9.0.0 | 7,674,200 | 11/19/2024 |
8.5.0 | 7,257,167 | 11/11/2024 |
8.4.0 | 35,264,569 | 10/8/2024 |
8.3.0 | 3,221,342 | 9/3/2024 |
8.2.0 | 2,226,684 | 8/6/2024 |
8.1.0 | 2,632,868 | 7/9/2024 |
8.0.0 | 7,255,474 | 5/21/2024 |
7.3.0 | 1,989,040 | 4/30/2024 |
7.2.0 | 1,920,628 | 4/2/2024 |
7.1.2 | 1,985,784 | 3/5/2024 |
7.1.1 | 3,766,091 | 1/9/2024 |
7.1.0 | 1,977,104 | 12/5/2023 |
7.0.0 | 1,546,610 | 11/14/2023 |
6.3.0 | 8,308,562 | 9/5/2023 |
6.2.0 | 1,627,585 | 8/1/2023 |
6.1.0 | 1,321,844 | 7/4/2023 |
6.0.0 | 1,809,128 | 5/23/2023 |
5.7.1 | 2,897,826 | 4/25/2023 |
5.7.0 | 979,642 | 4/4/2023 |
5.6.0 | 70,853 | 3/21/2023 |
5.5.0 | 1,621,916 | 3/9/2023 |
5.4.0 | 2,553,796 | 2/7/2023 |
5.3.0 | 1,560,904 | 1/10/2023 |
5.2.0 | 1,444,175 | 12/6/2022 |
5.1.1 | 826,618 | 11/17/2022 |
5.1.0 | 700,515 | 11/1/2022 |
5.0.0 | 2,546,924 | 10/17/2022 |
4.31.0 | 2,308,307 | 9/6/2022 |
4.30.0 | 1,150,281 | 7/19/2022 |
4.29.0 | 822,204 | 7/5/2022 |
4.28.0 | 34,158 | 6/20/2022 |
4.27.0 | 4,235,873 | 5/24/2022 |
4.26.0 | 4,529,578 | 4/26/2022 |
4.25.0 | 483,749 | 4/5/2022 |
4.24.1 | 640,579 | 3/12/2022 |
4.24.0 | 335,199 | 3/1/2022 |
4.23.0 | 571,773 | 2/7/2022 |
4.22.0 | 868,506 | 1/4/2022 |
4.21.0 | 606,896 | 12/7/2021 |
4.20.0 | 4,995,362 | 11/5/2021 |
4.19.0 | 7,620 | 11/4/2021 |
4.18.0 | 2,344,184 | 11/2/2021 |
4.17.1 | 577,970 | 10/12/2021 |
4.17.0 | 838,856 | 9/7/2021 |
4.16.0 (current version) | 718,560 | 8/3/2021 |
4.15.0 | 665,227 | 7/6/2021 |
4.14.0 | 444,171 | 6/15/2021 |
4.13.0 | 437,416 | 5/25/2021 |
4.12.0 | 3,531,536 | 5/4/2021 |
4.11.0 | 556,134 | 4/13/2021 |
4.10.0 | 1,307,811 | 3/2/2021 |
4.9.0 | 938,700 | 2/9/2021 |
4.8.0 | 3,189,531 | 12/29/2020 |
4.7.0 | 1,405,175 | 12/8/2020 |
4.6.0 | 3,422,262 | 10/27/2020 |
4.5.0 | 4,301,756 | 10/13/2020 |
4.4.0 | 286,280 | 9/22/2020 |
4.3.1 | 1,844,141 | 8/28/2020 |
4.3.0 | 124,835 | 8/25/2020 |
4.2.1 | 833,217 | 7/14/2020 |
4.2.0 | 437,054 | 6/23/2020 |
4.1.0 | 765,976 | 5/19/2020 |
3.7.0 | 2,141,450 | 4/16/2020 |
3.6.0 | 310,749 | 3/31/2020 |
3.5.0 | 900,068 | 2/18/2020 |
3.4.0 | 686,348 | 1/13/2020 |
3.3.0 | 578,682 | 1/7/2020 |
3.2.0 | 336,263 | 12/17/2019 |
3.1.0 | 773,734 | 11/26/2019 |
3.0.0 | 481,214 | 11/4/2019 |
2.7.0 | 1,150,377 | 10/15/2019 |
2.6.0 | 193,040 | 9/24/2019 |
2.5.0 | 344,683 | 8/27/2019 |
2.4.2-preview | 1,518 | 8/1/2019 |
2.4.1 | 427,667 | 7/30/2019 |
2.4.0 | 294,548 | 7/2/2019 |
2.3.0 | 182,036 | 6/18/2019 |
2.2.0 | 82,924 | 6/4/2019 |
2.1.0 | 76,480 | 5/21/2019 |
2.0.0 | 119,393 | 5/6/2019 |
1.8.0 | 373,113 | 4/23/2019 |
1.7.0 | 57,419 | 4/9/2019 |
1.6.0 | 90,342 | 3/26/2019 |
1.5.0 | 58,474 | 3/12/2019 |
1.4.0 | 46,331 | 2/26/2019 |
1.3.0 | 35,767 | 2/12/2019 |
1.2.0 | 31,938 | 1/29/2019 |
1.1.0 | 81,526 | 1/15/2019 |
1.0.0 | 64,209 | 12/18/2018 |
0.10.0-preview | 15,466 | 4/15/2020 |
0.7.0 | 14,829 | 12/4/2018 |
0.6.1 | 11,568 | 11/21/2018 |
0.5.0 | 12,696 | 11/6/2018 |
0.4.0 | 13,534 | 10/23/2018 |
0.3.0 | 13,428 | 10/9/2018 |
0.2.2 | 7,323 | 9/24/2018 |
0.1.0 | 2,948 | 8/28/2018 |