Az.Compute
                 
                2.4.2-preview
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 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 Add-AzContainerServiceAgentPoolProfile New-AzContainerServiceConfig Remove-AzContainerServiceAgentPoolProfile New-AzContainerService Update-AzContainerService Remove-AzContainerService Get-AzContainerService 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-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
PSEditions
Dependencies
- 
                                        
- Az.Accounts (>= 1.6.1)
 
 
Release Notes
* Added Host and HostGroup features
    - New cmdlets:
        New-AzHostGroup
        New-AzHost
        Get-AzHostGroup
        Get-AzHost
        Remove-AzHostGroup
        Remove-AzHost
    - HostId parameter is added to New-AzVMConfig and New-AzVM
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.WindowsAzure.Storage.dll
 
Version History
| Version | Downloads | Last updated | 
|---|---|---|
| 10.5.0 | 72,319 | 11/4/2025 | 
| 10.4.0 | 4,668,881 | 10/14/2025 | 
| 10.3.0 | 9,339,816 | 9/2/2025 | 
| 10.2.0 | 6,094,337 | 8/5/2025 | 
| 10.1.0 | 914,389 | 7/8/2025 | 
| 10.0.1 | 11,419,498 | 6/3/2025 | 
| 10.0.0 | 2,724,038 | 5/19/2025 | 
| 9.3.0 | 3,229,824 | 5/6/2025 | 
| 9.2.0 | 5,676,415 | 4/1/2025 | 
| 9.1.0 | 7,042,706 | 2/11/2025 | 
| 9.0.1 | 5,050,564 | 1/14/2025 | 
| 9.0.0 | 7,682,106 | 11/19/2024 | 
| 8.5.0 | 7,433,308 | 11/11/2024 | 
| 8.4.0 | 35,284,106 | 10/8/2024 | 
| 8.3.0 | 3,222,694 | 9/3/2024 | 
| 8.2.0 | 2,230,066 | 8/6/2024 | 
| 8.1.0 | 2,683,668 | 7/9/2024 | 
| 8.0.0 | 7,375,419 | 5/21/2024 | 
| 7.3.0 | 2,007,500 | 4/30/2024 | 
| 7.2.0 | 1,921,421 | 4/2/2024 | 
| 7.1.2 | 1,993,347 | 3/5/2024 | 
| 7.1.1 | 3,770,435 | 1/9/2024 | 
| 7.1.0 | 1,979,968 | 12/5/2023 | 
| 7.0.0 | 1,551,303 | 11/14/2023 | 
| 6.3.0 | 8,455,040 | 9/5/2023 | 
| 6.2.0 | 1,630,168 | 8/1/2023 | 
| 6.1.0 | 1,321,989 | 7/4/2023 | 
| 6.0.0 | 1,810,149 | 5/23/2023 | 
| 5.7.1 | 2,912,852 | 4/25/2023 | 
| 5.7.0 | 982,360 | 4/4/2023 | 
| 5.6.0 | 70,911 | 3/21/2023 | 
| 5.5.0 | 1,627,543 | 3/9/2023 | 
| 5.4.0 | 2,558,369 | 2/7/2023 | 
| 5.3.0 | 1,562,930 | 1/10/2023 | 
| 5.2.0 | 1,445,501 | 12/6/2022 | 
| 5.1.1 | 827,666 | 11/17/2022 | 
| 5.1.0 | 700,993 | 11/1/2022 | 
| 5.0.0 | 2,560,346 | 10/17/2022 | 
| 4.31.0 | 2,312,312 | 9/6/2022 | 
| 4.30.0 | 1,151,200 | 7/19/2022 | 
| 4.29.0 | 823,835 | 7/5/2022 | 
| 4.28.0 | 34,174 | 6/20/2022 | 
| 4.27.0 | 4,239,121 | 5/24/2022 | 
| 4.26.0 | 4,535,553 | 4/26/2022 | 
| 4.25.0 | 484,031 | 4/5/2022 | 
| 4.24.1 | 640,704 | 3/12/2022 | 
| 4.24.0 | 335,542 | 3/1/2022 | 
| 4.23.0 | 572,058 | 2/7/2022 | 
| 4.22.0 | 869,165 | 1/4/2022 | 
| 4.21.0 | 607,139 | 12/7/2021 | 
| 4.20.0 | 5,145,227 | 11/5/2021 | 
| 4.19.0 | 7,636 | 11/4/2021 | 
| 4.18.0 | 2,354,775 | 11/2/2021 | 
| 4.17.1 | 578,141 | 10/12/2021 | 
| 4.17.0 | 839,015 | 9/7/2021 | 
| 4.16.0 | 719,146 | 8/3/2021 | 
| 4.15.0 | 666,088 | 7/6/2021 | 
| 4.14.0 | 444,388 | 6/15/2021 | 
| 4.13.0 | 437,750 | 5/25/2021 | 
| 4.12.0 | 3,549,203 | 5/4/2021 | 
| 4.11.0 | 556,166 | 4/13/2021 | 
| 4.10.0 | 1,308,117 | 3/2/2021 | 
| 4.9.0 | 938,949 | 2/9/2021 | 
| 4.8.0 | 3,189,649 | 12/29/2020 | 
| 4.7.0 | 1,405,193 | 12/8/2020 | 
| 4.6.0 | 3,424,579 | 10/27/2020 | 
| 4.5.0 | 4,342,835 | 10/13/2020 | 
| 4.4.0 | 286,434 | 9/22/2020 | 
| 4.3.1 | 1,844,159 | 8/28/2020 | 
| 4.3.0 | 124,900 | 8/25/2020 | 
| 4.2.1 | 833,505 | 7/14/2020 | 
| 4.2.0 | 437,071 | 6/23/2020 | 
| 4.1.0 | 766,253 | 5/19/2020 | 
| 3.7.0 | 2,144,670 | 4/16/2020 | 
| 3.6.0 | 310,767 | 3/31/2020 | 
| 3.5.0 | 900,110 | 2/18/2020 | 
| 3.4.0 | 686,771 | 1/13/2020 | 
| 3.3.0 | 579,281 | 1/7/2020 | 
| 3.2.0 | 336,279 | 12/17/2019 | 
| 3.1.0 | 777,186 | 11/26/2019 | 
| 3.0.0 | 481,368 | 11/4/2019 | 
| 2.7.0 | 1,153,618 | 10/15/2019 | 
| 2.6.0 | 193,057 | 9/24/2019 | 
| 2.5.0 | 344,786 | 8/27/2019 | 
| 2.4.2-preview (current version) | 1,518 | 8/1/2019 | 
| 2.4.1 | 428,845 | 7/30/2019 | 
| 2.4.0 | 294,568 | 7/2/2019 | 
| 2.3.0 | 182,081 | 6/18/2019 | 
| 2.2.0 | 82,940 | 6/4/2019 | 
| 2.1.0 | 76,497 | 5/21/2019 | 
| 2.0.0 | 119,460 | 5/6/2019 | 
| 1.8.0 | 373,176 | 4/23/2019 | 
| 1.7.0 | 57,463 | 4/9/2019 | 
| 1.6.0 | 90,399 | 3/26/2019 | 
| 1.5.0 | 58,490 | 3/12/2019 | 
| 1.4.0 | 46,347 | 2/26/2019 | 
| 1.3.0 | 35,783 | 2/12/2019 | 
| 1.2.0 | 31,955 | 1/29/2019 | 
| 1.1.0 | 81,542 | 1/15/2019 | 
| 1.0.0 | 64,241 | 12/18/2018 | 
| 0.10.0-preview | 15,497 | 4/15/2020 | 
| 0.7.0 | 14,845 | 12/4/2018 | 
| 0.6.1 | 11,584 | 11/21/2018 | 
| 0.5.0 | 12,714 | 11/6/2018 | 
| 0.4.0 | 13,550 | 10/23/2018 | 
| 0.3.0 | 13,444 | 10/9/2018 | 
| 0.2.2 | 7,339 | 9/24/2018 | 
| 0.1.0 | 2,965 | 8/28/2018 |