Az.Compute

4.16.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://docs.microsoft.com/azure/virtual-machines/
For more information on Virtu
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://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/
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 4.16.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

Author(s)

Microsoft Corporation

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Owners

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

Core Desktop

Dependencies

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

Version History

Version Downloads Last updated
5.6.0 8,225 3/21/2023
5.5.0 594,099 3/9/2023
5.4.0 1,361,565 2/7/2023
5.3.0 1,275,381 1/10/2023
5.2.0 1,304,319 12/6/2022
5.1.1 752,928 11/17/2022
5.1.0 649,403 11/1/2022
5.0.0 629,242 10/17/2022
4.31.0 1,687,220 9/6/2022
4.30.0 1,091,664 7/19/2022
4.29.0 762,590 7/5/2022
4.28.0 32,809 6/20/2022
4.27.0 2,142,443 5/24/2022
4.26.0 1,691,840 4/26/2022
4.25.0 468,031 4/5/2022
4.24.1 599,865 3/12/2022
4.24.0 279,857 3/1/2022
4.23.0 549,990 2/7/2022
4.22.0 825,717 1/4/2022
4.21.0 524,311 12/7/2021
4.20.0 776,399 11/5/2021
4.19.0 6,447 11/4/2021
4.18.0 1,408,704 11/2/2021
4.17.1 558,453 10/12/2021
4.17.0 799,316 9/7/2021
4.16.0 (current version) 674,858 8/3/2021
4.15.0 544,968 7/6/2021
4.14.0 422,136 6/15/2021
4.13.0 415,977 5/25/2021
4.12.0 1,974,523 5/4/2021
4.11.0 463,949 4/13/2021
4.10.0 1,192,907 3/2/2021
4.9.0 827,977 2/9/2021
4.8.0 3,134,744 12/29/2020
4.7.0 1,384,945 12/8/2020
4.6.0 3,352,919 10/27/2020
4.5.0 2,646,679 10/13/2020
4.4.0 240,583 9/22/2020
4.3.1 1,818,082 8/28/2020
4.3.0 121,308 8/25/2020
4.2.1 784,259 7/14/2020
4.2.0 413,123 6/23/2020
4.1.0 726,584 5/19/2020
3.7.0 1,819,510 4/16/2020
3.6.0 308,402 3/31/2020
3.5.0 837,865 2/18/2020
3.4.0 615,954 1/13/2020
3.3.0 491,109 1/7/2020
3.2.0 335,020 12/17/2019
3.1.0 623,720 11/26/2019
3.0.0 474,624 11/4/2019
2.7.0 906,850 10/15/2019
2.6.0 191,551 9/24/2019
2.5.0 329,632 8/27/2019
2.4.2-preview 1,510 8/1/2019
2.4.1 376,156 7/30/2019
2.4.0 293,180 7/2/2019
2.3.0 173,249 6/18/2019
2.2.0 81,619 6/4/2019
2.1.0 74,551 5/21/2019
2.0.0 107,603 5/6/2019
1.8.0 366,533 4/23/2019
1.7.0 55,311 4/9/2019
1.6.0 82,282 3/26/2019
1.5.0 57,295 3/12/2019
1.4.0 45,071 2/26/2019
1.3.0 34,246 2/12/2019
1.2.0 30,743 1/29/2019
1.1.0 80,326 1/15/2019
1.0.0 57,626 12/18/2018
0.10.0-preview 11,541 4/15/2020
0.7.0 13,650 12/4/2018
0.6.1 10,399 11/21/2018
0.5.0 11,370 11/6/2018
0.4.0 12,366 10/23/2018
0.3.0 12,261 10/9/2018
0.2.2 6,099 9/24/2018
0.1.0 1,764 8/28/2018
Show less