Az.Compute
                 
                4.26.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 Update-AzCapacityReservationGroup Update-AzCapacityReservation New-AzRestorePointCollection Get-AzRestorePointCollection Update-AzRestorePointCollection Remove-AzRestorePointCollection New-AzRestorePoint Get-AzRestorePoint Remove-AzRestorePoint New-AzVmGalleryApplication New-AzVmssGalleryApplication Add-AzVmGalleryApplication Add-AzVmssGalleryApplication Remove-AzVmGalleryApplication Remove-AzVmssGalleryApplication Add-AzVmssRunCommand Remove-AzVmssRunCommand
Functions
Get-AzGalleryApplication Get-AzGalleryApplicationVersion Get-AzVMRunCommand Get-AzVmssVMRunCommand New-AzGalleryApplication New-AzGalleryApplicationVersion Remove-AzGalleryApplication Remove-AzGalleryApplicationVersion Remove-AzVMRunCommand Remove-AzVmssVMRunCommand Set-AzVMRunCommand Set-AzVmssVMRunCommand Update-AzGalleryApplication Update-AzGalleryApplicationVersion
PSEditions
Dependencies
- 
                                        
- Az.Accounts (>= 2.7.6)
 
 
Release Notes
* Added '-ImageReferenceId' parameter to following cmdlets: 'New-AzVm', 'New-AzVmConfig', 'New-AzVmss', 'Set-AzVmssStorageProfile'
* Added functionality for cross-tenant image reference for VM, VMSS, Managed Disk, and Gallery Image Version creation. 
* 'New-AzGallery' can take in '-Permission' parameter to set its sharingProfile property.
* 'Update-AzGallery' can update sharingProfile.
* 'Get-AzGallery' can take in '-Expand' parameter for expanded resource view.
* New parameter set for the following cmdlets to support Shared Image Gallery Direct Sharing
    - Get-AzGallery
    - Get-AzGalleryImageDefinition
    - Get-AzGalleryImageVersion
* Updates and improvements to 'Add-AzVhd'
    - Added '-DiskHyperVGeneration' and '-DiskOsType' parameters to the DirectUploadToManagedDisk parameter set for upload to more robust managed disk settings.
    - Updated progress output functions so that it works with VHD files with '&' character in its name.
    - Updated so that uploading dynamically sized VHD files are converted to fixed size during upload.
    - Fixed a bug in uploading a differencing disk.
    - Automatically delete converted/resized VHD files after upload.
    - Fixed a bug that indicates '-ResourceGroupName' parameter as optional when it is actually mandatory.
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.Commands.Compute.AlcWrapper.deps.json
 - 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
 - Compute.Autorest\Az.Compute.format.ps1xml
 - Compute.Autorest\Az.Compute.psm1
 - Compute.Autorest\bin\Az.Compute.private.deps.json
 - Compute.Autorest\bin\Az.Compute.private.dll
 - Compute.Autorest\custom\Az.Compute.custom.psm1
 - Compute.Autorest\custom\New-AzGalleryApplication.ps1
 - Compute.Autorest\custom\New-AzGalleryApplicationVersion.ps1
 - Compute.Autorest\custom\Update-AzGalleryApplicationVersion.ps1
 - Compute.Autorest\exports\ProxyCmdletDefinitions.ps1
 - Compute.Autorest\internal\Az.Compute.internal.psm1
 - Compute.Autorest\internal\ProxyCmdletDefinitions.ps1
 - Compute.Autorest\utils\Unprotect-SecureString.ps1
 - ModuleAlcAssemblies\Azure.Storage.Blobs.dll
 - ModuleAlcAssemblies\Azure.Storage.Common.dll
 - ModuleAlcAssemblies\Microsoft.Azure.Commands.Compute.AlcWrapper.dll
 - PostImportScripts\InitializeAssemblyLoadContext.ps1
 
Version History
| Version | Downloads | Last updated | 
|---|---|---|
| 10.5.0 | 62,344 | 11/4/2025 | 
| 10.4.0 | 4,668,877 | 10/14/2025 | 
| 10.3.0 | 9,339,797 | 9/2/2025 | 
| 10.2.0 | 6,094,272 | 8/5/2025 | 
| 10.1.0 | 914,389 | 7/8/2025 | 
| 10.0.1 | 11,419,483 | 6/3/2025 | 
| 10.0.0 | 2,723,962 | 5/19/2025 | 
| 9.3.0 | 3,229,575 | 5/6/2025 | 
| 9.2.0 | 5,676,407 | 4/1/2025 | 
| 9.1.0 | 7,042,635 | 2/11/2025 | 
| 9.0.1 | 5,050,554 | 1/14/2025 | 
| 9.0.0 | 7,682,091 | 11/19/2024 | 
| 8.5.0 | 7,432,886 | 11/11/2024 | 
| 8.4.0 | 35,284,002 | 10/8/2024 | 
| 8.3.0 | 3,222,690 | 9/3/2024 | 
| 8.2.0 | 2,230,056 | 8/6/2024 | 
| 8.1.0 | 2,683,449 | 7/9/2024 | 
| 8.0.0 | 7,375,127 | 5/21/2024 | 
| 7.3.0 | 2,007,461 | 4/30/2024 | 
| 7.2.0 | 1,921,421 | 4/2/2024 | 
| 7.1.2 | 1,993,321 | 3/5/2024 | 
| 7.1.1 | 3,770,425 | 1/9/2024 | 
| 7.1.0 | 1,979,957 | 12/5/2023 | 
| 7.0.0 | 1,551,295 | 11/14/2023 | 
| 6.3.0 | 8,454,750 | 9/5/2023 | 
| 6.2.0 | 1,630,159 | 8/1/2023 | 
| 6.1.0 | 1,321,989 | 7/4/2023 | 
| 6.0.0 | 1,810,148 | 5/23/2023 | 
| 5.7.1 | 2,912,820 | 4/25/2023 | 
| 5.7.0 | 982,349 | 4/4/2023 | 
| 5.6.0 | 70,911 | 3/21/2023 | 
| 5.5.0 | 1,627,535 | 3/9/2023 | 
| 5.4.0 | 2,558,362 | 2/7/2023 | 
| 5.3.0 | 1,562,925 | 1/10/2023 | 
| 5.2.0 | 1,445,498 | 12/6/2022 | 
| 5.1.1 | 827,662 | 11/17/2022 | 
| 5.1.0 | 700,988 | 11/1/2022 | 
| 5.0.0 | 2,560,319 | 10/17/2022 | 
| 4.31.0 | 2,312,300 | 9/6/2022 | 
| 4.30.0 | 1,151,197 | 7/19/2022 | 
| 4.29.0 | 823,832 | 7/5/2022 | 
| 4.28.0 | 34,174 | 6/20/2022 | 
| 4.27.0 | 4,239,121 | 5/24/2022 | 
| 4.26.0 (current version) | 4,535,537 | 4/26/2022 | 
| 4.25.0 | 484,031 | 4/5/2022 | 
| 4.24.1 | 640,702 | 3/12/2022 | 
| 4.24.0 | 335,542 | 3/1/2022 | 
| 4.23.0 | 572,055 | 2/7/2022 | 
| 4.22.0 | 869,163 | 1/4/2022 | 
| 4.21.0 | 607,139 | 12/7/2021 | 
| 4.20.0 | 5,142,287 | 11/5/2021 | 
| 4.19.0 | 7,636 | 11/4/2021 | 
| 4.18.0 | 2,354,746 | 11/2/2021 | 
| 4.17.1 | 578,141 | 10/12/2021 | 
| 4.17.0 | 839,014 | 9/7/2021 | 
| 4.16.0 | 719,146 | 8/3/2021 | 
| 4.15.0 | 666,088 | 7/6/2021 | 
| 4.14.0 | 444,387 | 6/15/2021 | 
| 4.13.0 | 437,750 | 5/25/2021 | 
| 4.12.0 | 3,549,160 | 5/4/2021 | 
| 4.11.0 | 556,166 | 4/13/2021 | 
| 4.10.0 | 1,308,117 | 3/2/2021 | 
| 4.9.0 | 938,948 | 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,574 | 10/27/2020 | 
| 4.5.0 | 4,342,756 | 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,504 | 7/14/2020 | 
| 4.2.0 | 437,071 | 6/23/2020 | 
| 4.1.0 | 766,250 | 5/19/2020 | 
| 3.7.0 | 2,144,657 | 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,280 | 1/7/2020 | 
| 3.2.0 | 336,279 | 12/17/2019 | 
| 3.1.0 | 777,164 | 11/26/2019 | 
| 3.0.0 | 481,368 | 11/4/2019 | 
| 2.7.0 | 1,153,608 | 10/15/2019 | 
| 2.6.0 | 193,057 | 9/24/2019 | 
| 2.5.0 | 344,786 | 8/27/2019 | 
| 2.4.2-preview | 1,518 | 8/1/2019 | 
| 2.4.1 | 428,843 | 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 |