Az.Compute

7.2.0

Microsoft Azure PowerShell - Compute service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.  Manages virtual machines, hosted services, and related resources in Azure Resource Manager.

For more information on Virtual Machines, please visit the following: https://learn.microsoft.com/azure/virtual-machines/
For more information on Virt
Microsoft Azure PowerShell - Compute service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.  Manages virtual machines, hosted services, and related resources in Azure Resource Manager.

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/
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.Compute -RequiredVersion 7.2.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Az.Compute -Version 7.2.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Azure ResourceManager ARM Compute IAAS VM VirtualMachine

Cmdlets

Add-AzImageDataDisk Add-AzVhd Add-AzVMAdditionalUnattendContent Add-AzVMDataDisk Add-AzVmGalleryApplication Add-AzVMNetworkInterface Add-AzVMSecret Add-AzVmssAdditionalUnattendContent Add-AzVmssDataDisk Add-AzVmssDiagnosticsExtension Add-AzVmssExtension Add-AzVmssGalleryApplication Add-AzVMSshPublicKey Add-AzVmssNetworkInterfaceConfiguration Add-AzVmssRunCommand Add-AzVmssSecret Add-AzVmssSshPublicKey Add-AzVmssVMDataDisk Add-AzVmssWinRMListener ConvertTo-AzVMManagedDisk 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-AzHost Get-AzHostGroup Get-AzHostSize Get-AzImage 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-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 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-AzHost New-AzHostGroup New-AzImage New-AzImageConfig New-AzProximityPlacementGroup New-AzRestorePoint New-AzRestorePointCollection New-AzSnapshot New-AzSnapshotConfig New-AzSnapshotUpdateConfig New-AzSshKey New-AzVM New-AzVMConfig New-AzVMDataDisk New-AzVmGalleryApplication New-AzVMSqlServerAutoBackupConfig New-AzVMSqlServerAutoPatchingConfig New-AzVMSqlServerKeyVaultCredentialConfig New-AzVmss New-AzVmssConfig New-AzVmssGalleryApplication New-AzVmssIpConfig New-AzVmssIpTagConfig New-AzVmssVaultCertificateConfig Publish-AzVMDscConfiguration Remove-AzAvailabilitySet Remove-AzCapacityReservation Remove-AzCapacityReservationGroup Remove-AzDisk Remove-AzDiskAccess Remove-AzDiskEncryptionSet Remove-AzGallery Remove-AzGalleryImageDefinition Remove-AzGalleryImageVersion Remove-AzHost Remove-AzHostGroup Remove-AzImage 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-AzVmssNetworkInterfaceConfiguration Remove-AzVmssRunCommand 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-AzVMSecurityProfile Set-AzVMSourceImage Set-AzVMSqlServerExtension Set-AzVmss Set-AzVmssBootDiagnostic Set-AzVmssDiskEncryptionExtension Set-AzVmssOrchestrationServiceState Set-AzVmssOsProfile Set-AzVmssRollingUpgradePolicy Set-AzVmssSecurityProfile Set-AzVmssStorageProfile Set-AzVmssUefi Set-AzVmssVM Set-AzVMUefi Start-AzVM Start-AzVmss Start-AzVmssRollingExtensionUpgrade Start-AzVmssRollingOSUpgrade Stop-AzVM Stop-AzVmss Stop-AzVmssRollingUpgrade Test-AzVMAEMExtension Update-AzAvailabilitySet Update-AzCapacityReservation Update-AzCapacityReservationGroup Update-AzDisk Update-AzDiskEncryptionSet Update-AzGallery Update-AzGalleryImageDefinition Update-AzGalleryImageVersion Update-AzHost Update-AzImage Update-AzRestorePointCollection Update-AzSnapshot Update-AzSshKey Update-AzVM Update-AzVmss Update-AzVmssInstance Update-AzVmssVM

Functions

Get-AzGalleryApplication Get-AzGalleryApplicationVersion New-AzGalleryApplication New-AzGalleryApplicationVersion Remove-AzGalleryApplication Remove-AzGalleryApplicationVersion Remove-AzVMRunCommand Remove-AzVmssVMRunCommand Set-AzVMRunCommand Set-AzVmssVMRunCommand Update-AzGalleryApplication Update-AzGalleryApplicationVersion

PSEditions

Core Desktop

Dependencies

Release Notes

* Added parameters '-scriptUriManagedIdentity', '-outputBlobManagedIdentity', '-errorBlobMangedIdentity', and '-TreatFailureAsDeploymentFailure' to cmdlets 'Set-AzVmRunCommand' and 'Set-AzVmssRunCommand'.
* Added new parameter '-EnableAutomaticOSUpgrade' to 'New-AzVmss' cmdlet.
* Renamed parameter '-AutoOSUpgrade' to '-EnableAutomaticOSUpgrade' in 'New-AzVmssConfig' cmdlet for consistency. Using '-AutoOSUpgrade' as parameter name will continue to work as it is added as an alias.
* Upgraded Azure.Core to 1.37.0.
* Az.Compute is updated to use the 2023-07-03 GalleryRP, 2024-03-01 ComputeRP and 2023-10-02 DiskRP API.
* Added new parameter '-TierOption' to 'New-AzSnapshotConfig'.
* Added breaking change warnings for the May 2024 release. The warnings are for:
 'New-AzGalleryImageVersion' defaulting to turn on TrustedLaunchSupported and HyperVGeneration to V2.
 'New-AzVM' and 'New-AzVmss' will default to the image 'Windows Server 2022 Azure Edition' instead of 'Windows 2016 Datacenter' by default.
 'Get-AzVmss' will no longer allow empty values to 'ResourceGroupName' and 'VMScaleSetName' to avoid a bug where it will just return nothing.
* Added a new parameter '-SharingProfile' to 'New-AzCapacityReservationGroup' and 'Update-AzCapacityReservationGroup'.
* Added the new parameter 'SourceImageVMId' to the 'New-AzGalleryImageVersion' cmdlet. Also added some error messages for this new parameter and the existing parameter 'SourceImageId'.

FileList

Version History

Version Downloads Last updated
9.0.0 361,792 11/19/2024
8.5.0 4,060,334 11/11/2024
8.4.0 34,903,554 10/8/2024
8.3.0 3,165,968 9/3/2024
8.2.0 2,053,242 8/6/2024
8.1.0 1,821,391 7/9/2024
8.0.0 5,256,678 5/21/2024
7.3.0 1,667,114 4/30/2024
7.2.0 (current version) 1,900,501 4/2/2024
7.1.2 1,854,279 3/5/2024
7.1.1 3,489,161 1/9/2024
7.1.0 1,929,048 12/5/2023
7.0.0 1,492,741 11/14/2023
6.3.0 5,813,229 9/5/2023
6.2.0 1,593,653 8/1/2023
6.1.0 1,317,195 7/4/2023
6.0.0 1,782,036 5/23/2023
5.7.1 2,522,605 4/25/2023
5.7.0 944,466 4/4/2023
5.6.0 69,448 3/21/2023
5.5.0 1,514,730 3/9/2023
5.4.0 1,914,895 2/7/2023
5.3.0 1,508,598 1/10/2023
5.2.0 1,416,429 12/6/2022
5.1.1 802,663 11/17/2022
5.1.0 687,305 11/1/2022
5.0.0 2,104,269 10/17/2022
4.31.0 2,193,500 9/6/2022
4.30.0 1,133,337 7/19/2022
4.29.0 806,778 7/5/2022
4.28.0 33,362 6/20/2022
4.27.0 4,092,842 5/24/2022
4.26.0 4,078,373 4/26/2022
4.25.0 475,837 4/5/2022
4.24.1 632,522 3/12/2022
4.24.0 315,025 3/1/2022
4.23.0 564,570 2/7/2022
4.22.0 858,580 1/4/2022
4.21.0 597,526 12/7/2021
4.20.0 2,662,176 11/5/2021
4.19.0 6,821 11/4/2021
4.18.0 2,127,661 11/2/2021
4.17.1 574,681 10/12/2021
4.17.0 834,114 9/7/2021
4.16.0 708,346 8/3/2021
4.15.0 643,575 7/6/2021
4.14.0 438,405 6/15/2021
4.13.0 430,686 5/25/2021
4.12.0 3,176,470 5/4/2021
4.11.0 474,945 4/13/2021
4.10.0 1,300,682 3/2/2021
4.9.0 930,124 2/9/2021
4.8.0 3,175,013 12/29/2020
4.7.0 1,402,943 12/8/2020
4.6.0 3,384,962 10/27/2020
4.5.0 3,608,107 10/13/2020
4.4.0 281,683 9/22/2020
4.3.1 1,840,753 8/28/2020
4.3.0 123,209 8/25/2020
4.2.1 825,081 7/14/2020
4.2.0 436,196 6/23/2020
4.1.0 760,074 5/19/2020
3.7.0 2,070,758 4/16/2020
3.6.0 309,731 3/31/2020
3.5.0 898,158 2/18/2020
3.4.0 673,040 1/13/2020
3.3.0 564,921 1/7/2020
3.2.0 335,463 12/17/2019
3.1.0 726,769 11/26/2019
3.0.0 477,210 11/4/2019
2.7.0 1,089,493 10/15/2019
2.6.0 192,199 9/24/2019
2.5.0 341,698 8/27/2019
2.4.2-preview 1,515 8/1/2019
2.4.1 408,816 7/30/2019
2.4.0 293,701 7/2/2019
2.3.0 179,892 6/18/2019
2.2.0 82,089 6/4/2019
2.1.0 75,652 5/21/2019
2.0.0 115,706 5/6/2019
1.8.0 370,889 4/23/2019
1.7.0 55,883 4/9/2019
1.6.0 88,057 3/26/2019
1.5.0 57,672 3/12/2019
1.4.0 45,530 2/26/2019
1.3.0 34,962 2/12/2019
1.2.0 31,136 1/29/2019
1.1.0 80,727 1/15/2019
1.0.0 62,683 12/18/2018
0.10.0-preview 14,729 4/15/2020
0.7.0 14,033 12/4/2018
0.6.1 10,773 11/21/2018
0.5.0 11,837 11/6/2018
0.4.0 12,738 10/23/2018
0.3.0 12,633 10/9/2018
0.2.2 6,526 9/24/2018
0.1.0 2,150 8/28/2018
Show less