Az.Compute
11.10.0
For more information on Virtual Machines, please visit the following: https://learn.microsoft.com/azure/virtual-machines/
For more information on Virt
For more information on Virtual Machines, please visit the following: https://learn.microsoft.com/azure/virtual-machines/
For more information on Virtual Machine Scale Sets, please visit the following: https://learn.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
Add-AzGalleryInVMAccessControlProfileVersionRulesIdentity Add-AzGalleryInVMAccessControlProfileVersionRulesPrivilege Add-AzGalleryInVMAccessControlProfileVersionRulesRole Add-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment Add-AzImageDataDisk Add-AzVhd Add-AzVMAdditionalUnattendContent Add-AzVMDataDisk Add-AzVmGalleryApplication Add-AzVMNetworkInterface Add-AzVMNetworkInterfaceConfiguration Add-AzVMSecret Add-AzVmssAdditionalUnattendContent Add-AzVmssDataDisk Add-AzVmssDiagnosticsExtension Add-AzVmssExtension Add-AzVmssGalleryApplication Add-AzVMSshPublicKey Add-AzVmssNetworkInterfaceConfiguration Add-AzVmssRunCommand Add-AzVmssSecret Add-AzVmssSkuProfileVMSize Add-AzVmssSshPublicKey Add-AzVmssVMDataDisk Add-AzVmssWinRMListener ConvertTo-AzVMManagedDisk Convert-AzAvailabilitySet Disable-AzVMDiskEncryption Disable-AzVmssDiskEncryption Export-AzLogAnalyticRequestRateByInterval Export-AzLogAnalyticThrottledRequest Get-AzAvailabilitySet Get-AzCapacityReservation Get-AzCapacityReservationGroup Get-AzComputeResourceSku Get-AzDisk Get-AzDiskAccess Get-AzDiskEncryptionSet Get-AzDiskEncryptionSetAssociatedResource Get-AzGallery Get-AzGalleryImageDefinition Get-AzGalleryImageVersion Get-AzGalleryInVMAccessControlProfile Get-AzGalleryInVMAccessControlProfileVersion Get-AzHost Get-AzHostGroup Get-AzHostSize Get-AzImage Get-AzInterconnectBlock Get-AzProximityPlacementGroup Get-AzRemoteDesktopFile Get-AzRestorePoint Get-AzRestorePointCollection Get-AzSnapshot Get-AzSshKey Get-AzVM Get-AzVMAccessExtension Get-AzVMADDomainExtension Get-AzVMAEMExtension Get-AzVMBootDiagnosticsData Get-AzVMChefExtension Get-AzVMCustomScriptExtension Get-AzVMDiagnosticsExtension Get-AzVMDiskEncryptionStatus Get-AzVMDscExtension Get-AzVMDscExtensionStatus Get-AzVMExtension Get-AzVMExtensionImage Get-AzVMExtensionImageType Get-AzVMImage Get-AzVMImageOffer Get-AzVMImagePublisher Get-AzVMImageSku Get-AzVMRunCommand Get-AzVMRunCommandDocument Get-AzVMSize Get-AzVMSqlServerExtension Get-AzVmss Get-AzVmssDiskEncryption Get-AzVmssLifecycleHookEvent Get-AzVmssRollingUpgrade Get-AzVmssSku Get-AzVmssVM Get-AzVmssVMDiskEncryption Get-AzVmssVMRunCommand Get-AzVMUsage Grant-AzDiskAccess Grant-AzSnapshotAccess Invoke-AzVMInstallPatch Invoke-AzVMPatchAssessment Invoke-AzVMReimage Invoke-AzVMRunCommand Invoke-AzVmssVMRunCommand Move-AzVirtualMachineToVmss New-AzAvailabilitySet New-AzCapacityReservation New-AzCapacityReservationGroup New-AzDisk New-AzDiskAccess New-AzDiskConfig New-AzDiskEncryptionSet New-AzDiskEncryptionSetConfig New-AzDiskPurchasePlanConfig New-AzDiskUpdateConfig New-AzGallery New-AzGalleryImageDefinition New-AzGalleryImageVersion New-AzGalleryInVMAccessControlProfile New-AzGalleryInVMAccessControlProfileVersion New-AzGalleryInVMAccessControlProfileVersionConfig New-AzHost New-AzHostGroup New-AzImage New-AzImageConfig New-AzInterconnectBlock New-AzProximityPlacementGroup New-AzRestorePoint New-AzRestorePointCollection New-AzSnapshot New-AzSnapshotConfig New-AzSnapshotUpdateConfig New-AzSshKey New-AzVM New-AzVMConfig New-AzVMDataDisk New-AzVmGalleryApplication New-AzVMIpConfig New-AzVMIpTagConfig New-AzVMSqlServerAutoBackupConfig New-AzVMSqlServerAutoPatchingConfig New-AzVMSqlServerKeyVaultCredentialConfig New-AzVmss New-AzVmssConfig New-AzVmssGalleryApplication New-AzVmssIpConfig New-AzVmssIpTagConfig New-AzVmssLifecycleHookConfig New-AzVmssVaultCertificateConfig Publish-AzVMDscConfiguration Remove-AzAvailabilitySet Remove-AzCapacityReservation Remove-AzCapacityReservationGroup Remove-AzDisk Remove-AzDiskAccess Remove-AzDiskEncryptionSet Remove-AzGallery Remove-AzGalleryImageDefinition Remove-AzGalleryImageVersion Remove-AzGalleryInVMAccessControlProfile Remove-AzGalleryInVMAccessControlProfileVersion Remove-AzGalleryInVMAccessControlProfileVersionRulesIdentity Remove-AzGalleryInVMAccessControlProfileVersionRulesPrivilege Remove-AzGalleryInVMAccessControlProfileVersionRulesRole Remove-AzGalleryInVMAccessControlProfileVersionRulesRoleAssignment Remove-AzHost Remove-AzHostGroup Remove-AzImage Remove-AzInterconnectBlock Remove-AzImageDataDisk Remove-AzProximityPlacementGroup Remove-AzRestorePoint Remove-AzRestorePointCollection Remove-AzSnapshot Remove-AzSshKey Remove-AzVM Remove-AzVMAccessExtension Remove-AzVMAEMExtension Remove-AzVMBackup Remove-AzVMChefExtension Remove-AzVMCustomScriptExtension Remove-AzVMDataDisk Remove-AzVMDiagnosticsExtension Remove-AzVMDiskEncryptionExtension Remove-AzVMDscExtension Remove-AzVMExtension Remove-AzVmGalleryApplication Remove-AzVMNetworkInterface Remove-AzVMSecret Remove-AzVMSqlServerExtension Remove-AzVmss Remove-AzVmssDataDisk Remove-AzVmssDiagnosticsExtension Remove-AzVmssExtension Remove-AzVmssGalleryApplication Remove-AzVmssLifecycleHook Remove-AzVmssNetworkInterfaceConfiguration Remove-AzVmssRunCommand Remove-AzVmssSkuProfileVMSize Remove-AzVmssVMDataDisk Repair-AzVmssServiceFabricUpdateDomain Restart-AzHost Restart-AzVM Restart-AzVmss Revoke-AzDiskAccess Revoke-AzSnapshotAccess Save-AzVhd Save-AzVMImage Set-AzDiskDiskEncryptionKey Set-AzDiskImageReference Set-AzDiskKeyEncryptionKey Set-AzDiskSecurityProfile Set-AzDiskUpdateDiskEncryptionKey Set-AzDiskUpdateKeyEncryptionKey Set-AzImageOsDisk Set-AzSnapshotDiskEncryptionKey Set-AzSnapshotImageReference Set-AzSnapshotKeyEncryptionKey Set-AzSnapshotUpdateDiskEncryptionKey Set-AzSnapshotUpdateKeyEncryptionKey Set-AzVM Set-AzVMAccessExtension Set-AzVMADDomainExtension Set-AzVMAEMExtension Set-AzVMBackupExtension Set-AzVMBginfoExtension Set-AzVMBootDiagnostic Set-AzVMChefExtension Set-AzVMCustomScriptExtension Set-AzVMDataDisk Set-AzVMDiagnosticsExtension Set-AzVMDiskEncryptionExtension Set-AzVMDscExtension Set-AzVMExtension Set-AzVMOperatingSystem Set-AzVMOSDisk Set-AzVMPlan Set-AzVMProxyAgentSetting Set-AzVMSecurityProfile Set-AzVMSourceImage Set-AzVMSqlServerExtension Set-AzVmss Set-AzVmssBootDiagnostic Set-AzVmssDiskEncryptionExtension Set-AzVmssLifecycleHooksProfile Set-AzVmssOrchestrationServiceState Set-AzVmssOsProfile Set-AzVmssProxyAgentSetting Set-AzVmssRollingUpgradePolicy Set-AzVmssSecurityProfile Set-AzVmssStorageProfile Set-AzVmssUefi Set-AzVmssVM Set-AzVMUefi Set-AzVMZoneMovement Start-AzVM Start-AzVmss Start-AzVmssRollingExtensionUpgrade Start-AzAvailabilitySetMigration Start-AzVmssRollingOSUpgrade Stop-AzVM Stop-AzVmss Stop-AzVmssRollingUpgrade Stop-AzAvailabilitySetMigration Test-AzAvailabilitySetMigration Test-AzVMAEMExtension Update-AzAvailabilitySet Update-AzCapacityReservation Update-AzCapacityReservationGroup Update-AzDisk Update-AzDiskEncryptionSet Update-AzGallery Update-AzGalleryImageDefinition Update-AzGalleryImageVersion Update-AzGalleryInVMAccessControlProfile Update-AzGalleryInVMAccessControlProfileVersion Update-AzHost Update-AzImage Update-AzInterconnectBlock Update-AzRestorePointCollection Update-AzSnapshot Update-AzSshKey Update-AzVM Update-AzVmss Update-AzVmssInstance Update-AzVmssLifecycleHookEvent Update-AzVmssVM
Functions
Get-AzGalleryApplication Get-AzGalleryApplicationVersion Invoke-AzSpotPlacementScore New-AzGalleryApplication New-AzGalleryApplicationVersion Remove-AzGalleryApplication Remove-AzGalleryApplicationVersion Remove-AzVMRunCommand Remove-AzVmssVMRunCommand Set-AzVMRunCommand Set-AzVmssVMRunCommand Update-AzGalleryApplication Update-AzGalleryApplicationVersion
PSEditions
Dependencies
-
- Az.Accounts (>= 5.5.3)
Release Notes
* Added '-ScheduleProfileStart' and '-MinimumCommitmentDayCount' parameters to 'New-AzCapacityReservation' to create Future Capacity Reservations, and surfaced the read-only 'ScheduleProfile' (including 'ModifiableUntil') and instance view 'ReservationStateInfo' on 'Get-AzCapacityReservation' output.
* Added 'SpotPlus' as a supported value for the '-Priority' parameter of 'New-AzVM', 'New-AzVMConfig', 'New-AzVmss', and 'New-AzVmssConfig'.
- 'SpotPlus' is the next generation of Azure Spot for VM (Virtual Machine) and VMSS (Virtual Machine Scale Set) deployments, and offers higher reliability and longer running time than 'Spot'.
- '-EvictionPolicy' and '-MaxPrice' behave the same way as they do for 'Spot'.
- Requires the 'Microsoft.Compute/SpotPlus' subscription feature to be registered, and a region where the feature is enabled.
* For 'New-AzVM': If the extension-version catalogue lookup fails, the cmdlet uses the default BGInfo (Background Information) extension version, and installation failures now emit a warning rather than terminating the cmdlet.
* Added cmdlets and parameters to configure first-party service tags for implicit public IP addresses on VMs (Virtual Machines) and VMSS (Virtual Machine Scale Sets).
* Added extension release metadata support to 'Get-AzVMExtensionImage'.
- Use '-Expand Properties' when listing extension versions to include release category, urgency level, and run profile metadata. [Azure/azure-powershell-cmdlet-review-pr#1571](https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1571)
FileList
- Az.Compute.nuspec
- Compute.Autorest\custom\New-AzGalleryApplicationVersion.ps1
- Compute.Autorest\custom\Set-AzVmssVMRunCommand_ScriptLocalPath.ps1
- Compute.Autorest\exports\ProxyCmdletDefinitions.ps1
- Compute.Autorest\internal\ProxyCmdletDefinitions.ps1
- Compute.Autorest\utils\Unprotect-SecureString.ps1
- ModuleAlcAssemblies\Azure.Storage.Common.dll
- PostImportScripts\InitializeAssemblyLoadContext.ps1
- Az.Compute.psm1
- Compute.format.ps1xml
- Microsoft.Azure.Management.ResourceGraph.dll
- Microsoft.Azure.PowerShell.Cmdlets.Compute.dll
- Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.dll
- Microsoft.WindowsAzure.Storage.dll
- Compute.Autorest\Az.Compute.psm1
- Compute.Autorest\custom\Az.Compute.custom.psm1
- Compute.Autorest\custom\Set-AzVMRunCommand_ScriptLocalPath.ps1
- Compute.Autorest\custom\Update-AzGalleryApplicationVersion.ps1
- Compute.Autorest\internal\Az.Compute.internal.psm1
- Compute.Autorest\utils\Get-SubscriptionIdTestSafe.ps1
- ModuleAlcAssemblies\Azure.Storage.Blobs.dll
- ModuleAlcAssemblies\Microsoft.Azure.Commands.Compute.AlcWrapper.dll
- Az.Compute.psd1
- Compute.Automation.generated.format.ps1xml
- Compute.generated.format.ps1xml
- Microsoft.Azure.PowerShell.AutoMapper.dll
- Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
- Microsoft.Azure.PowerShell.Compute.Management.Sdk.dll
- Compute.Autorest\Az.Compute.format.ps1xml
- Compute.Autorest\bin\Az.Compute.private.dll
- Compute.Autorest\custom\New-AzGalleryApplication.ps1
- .signature.p7s
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 11.12.0 | 1,097,320 | 11/15/2026 |
| 11.11.0 | 1,959,872 | 11/3/2026 |
| 11.10.0 (current version) | 3,821,348 | 10/6/2026 |
| 11.9.0 | 5,517,151 | 8/31/2026 |
| 11.8.0 | 4,004,430 | 8/4/2026 |
| 11.7.0 | 4,798,043 | 7/7/2026 |
| 11.6.0 | 9,090,665 | 6/2/2026 |
| 11.5.0 | 6,457,378 | 5/5/2026 |
| 11.4.0 | 13,766,651 | 3/3/2026 |
| 11.3.0 | 5,933,070 | 2/3/2026 |
| 11.2.0 | 4,597,603 | 1/13/2026 |
| 11.1.0 | 8,885,517 | 12/2/2025 |
| 11.0.0 | 3,208,922 | 11/18/2025 |
| 10.5.0 | 4,403,865 | 11/4/2025 |
| 10.4.0 | 4,706,538 | 10/14/2025 |
| 10.3.0 | 9,594,634 | 9/2/2025 |
| 10.2.0 | 6,192,467 | 8/5/2025 |
| 10.1.0 | 916,506 | 7/8/2025 |
| 10.0.1 | 11,603,886 | 6/3/2025 |
| 10.0.0 | 3,003,836 | 5/19/2025 |
| 9.3.0 | 4,811,804 | 5/6/2025 |
| 9.2.0 | 5,779,518 | 4/1/2025 |
| 9.1.0 | 7,307,699 | 2/11/2025 |
| 9.0.1 | 5,168,045 | 1/14/2025 |
| 9.0.0 | 7,883,115 | 11/19/2024 |
| 8.5.0 | 10,541,144 | 11/11/2024 |
| 8.4.0 | 35,468,863 | 10/8/2024 |
| 8.3.0 | 3,255,520 | 9/3/2024 |
| 8.2.0 | 2,259,228 | 8/6/2024 |
| 8.1.0 | 3,708,500 | 7/9/2024 |
| 8.0.0 | 10,777,337 | 5/21/2024 |
| 7.3.0 | 2,314,451 | 4/30/2024 |
| 7.2.0 | 1,944,922 | 4/2/2024 |
| 7.1.2 | 2,186,432 | 3/5/2024 |
| 7.1.1 | 3,872,845 | 1/9/2024 |
| 7.1.0 | 2,043,022 | 12/5/2023 |
| 7.0.0 | 1,601,598 | 11/14/2023 |
| 6.3.0 | 11,053,643 | 9/5/2023 |
| 6.2.0 | 1,665,857 | 8/1/2023 |
| 6.1.0 | 1,327,039 | 7/4/2023 |
| 6.0.0 | 1,825,054 | 5/23/2023 |
| 5.7.1 | 3,199,139 | 4/25/2023 |
| 5.7.0 | 1,013,796 | 4/4/2023 |
| 5.6.0 | 72,850 | 3/21/2023 |
| 5.5.0 | 1,763,722 | 3/9/2023 |
| 5.4.0 | 2,674,720 | 2/7/2023 |
| 5.3.0 | 1,610,773 | 1/10/2023 |
| 5.2.0 | 1,470,901 | 12/6/2022 |
| 5.1.1 | 835,618 | 11/17/2022 |
| 5.1.0 | 708,622 | 11/1/2022 |
| 5.0.0 | 2,721,189 | 10/17/2022 |
| 4.31.0 | 2,396,219 | 9/6/2022 |
| 4.30.0 | 1,165,157 | 7/19/2022 |
| 4.29.0 | 834,784 | 7/5/2022 |
| 4.28.0 | 35,027 | 6/20/2022 |
| 4.27.0 | 4,288,711 | 5/24/2022 |
| 4.26.0 | 4,654,500 | 4/26/2022 |
| 4.25.0 | 496,115 | 4/5/2022 |
| 4.24.1 | 644,634 | 3/12/2022 |
| 4.24.0 | 342,343 | 3/1/2022 |
| 4.23.0 | 577,397 | 2/7/2022 |
| 4.22.0 | 880,003 | 1/4/2022 |
| 4.21.0 | 659,496 | 12/7/2021 |
| 4.20.0 | 7,106,840 | 11/5/2021 |
| 4.19.0 | 8,490 | 11/4/2021 |
| 4.18.0 | 2,550,323 | 11/2/2021 |
| 4.17.1 | 581,010 | 10/12/2021 |
| 4.17.0 | 845,075 | 9/7/2021 |
| 4.16.0 | 736,949 | 8/3/2021 |
| 4.15.0 | 684,973 | 7/6/2021 |
| 4.14.0 | 448,797 | 6/15/2021 |
| 4.13.0 | 447,084 | 5/25/2021 |
| 4.12.0 | 3,908,191 | 5/4/2021 |
| 4.11.0 | 557,336 | 4/13/2021 |
| 4.10.0 | 1,311,050 | 3/2/2021 |
| 4.9.0 | 941,475 | 2/9/2021 |
| 4.8.0 | 3,219,581 | 12/29/2020 |
| 4.7.0 | 1,406,103 | 12/8/2020 |
| 4.6.0 | 3,471,612 | 10/27/2020 |
| 4.5.0 | 5,087,485 | 10/13/2020 |
| 4.4.0 | 289,315 | 9/22/2020 |
| 4.3.1 | 1,845,403 | 8/28/2020 |
| 4.3.0 | 127,628 | 8/25/2020 |
| 4.2.1 | 838,718 | 7/14/2020 |
| 4.2.0 | 437,983 | 6/23/2020 |
| 4.1.0 | 770,992 | 5/19/2020 |
| 3.7.0 | 2,210,656 | 4/16/2020 |
| 3.6.0 | 311,676 | 3/31/2020 |
| 3.5.0 | 901,599 | 2/18/2020 |
| 3.4.0 | 692,635 | 1/13/2020 |
| 3.3.0 | 590,349 | 1/7/2020 |
| 3.2.0 | 337,134 | 12/17/2019 |
| 3.1.0 | 814,090 | 11/26/2019 |
| 3.0.0 | 484,903 | 11/4/2019 |
| 2.7.0 | 1,221,219 | 10/15/2019 |
| 2.6.0 | 193,954 | 9/24/2019 |
| 2.5.0 | 347,884 | 8/27/2019 |
| 2.4.2-preview | 1,524 | 8/1/2019 |
| 2.4.1 | 451,729 | 7/30/2019 |
| 2.4.0 | 295,504 | 7/2/2019 |
| 2.3.0 | 184,405 | 6/18/2019 |
| 2.2.0 | 83,826 | 6/4/2019 |
| 2.1.0 | 77,398 | 5/21/2019 |
| 2.0.0 | 121,643 | 5/6/2019 |
| 1.8.0 | 375,519 | 4/23/2019 |
| 1.7.0 | 59,229 | 4/9/2019 |
| 1.6.0 | 95,344 | 3/26/2019 |
| 1.5.0 | 59,346 | 3/12/2019 |
| 1.4.0 | 47,205 | 2/26/2019 |
| 1.3.0 | 36,636 | 2/12/2019 |
| 1.2.0 | 32,821 | 1/29/2019 |
| 1.1.0 | 82,401 | 1/15/2019 |
| 1.0.0 | 66,309 | 12/18/2018 |
| 0.10.0-preview | 16,251 | 4/15/2020 |
| 0.7.0 | 15,697 | 12/4/2018 |
| 0.6.1 | 12,436 | 11/21/2018 |
| 0.5.0 | 13,614 | 11/6/2018 |
| 0.4.0 | 14,404 | 10/23/2018 |
| 0.3.0 | 14,298 | 10/9/2018 |
| 0.2.2 | 8,197 | 9/24/2018 |
| 0.1.0 | 3,831 | 8/28/2018 |