- Added
-Featureparameter toUpdate-AzGalleryImageDefinitioncmdlet to allow updating existing gallery image features (such as DiskControllerTypes, SecurityType, IsAcceleratedNetwork, and IsHibernate). Each feature supports aStartsAtVersionproperty to specify the minimum gallery image version that supports the updated feature. - Added
-AllowUpdateImageparameter toUpdate-AzGalleryImageDefinitioncmdlet. Must be set to true when using the-Featureparameter to update gallery image features.
- Added
-DiskIOPSReadWriteand-DiskMBpsReadWriteparameters toAdd-AzVMDataDiskcmdlet - Added
-Tagand-Locationparameters toNew-AzSshKeycmdlet - Added
-Tagparameter toUpdate-AzSshKeycmdlet - Added support for Disk Availability Policy
- Added
-ActionOnDiskDelayparameter toNew-AzDiskConfigcmdlet to configure disk availability behavior - Added
-ActionOnDiskDelayparameter toNew-AzDiskUpdateConfigcmdlet to update disk availability behavior
- Added
- Compute SDK generation updates:
- Generation now uses autorest.powershell, replacing deprecated track 1 SDK.
- Removed local swagger files and replaced references with remote swagger files.
- Added new cmdlets for Availability Set to Virtual Machine Scale Set (VMSS) Flex migration (Public Preview)
Convert-AzAvailabilitySet: Converts an Availability Set to a new Flexible Virtual Machine Scale Set without downtimeTest-AzAvailabilitySetMigration: Validates that VMs in an Availability Set can be migrated to a VMSSStart-AzAvailabilitySetMigration: Starts migration of an Availability Set to an existing Flexible VMSSStop-AzAvailabilitySetMigration: Cancels a migration operation on an Availability SetMove-AzVirtualMachineToVmss: Migrates a VM from an Availability Set to a Flexible VMSS
- Added
-HighSpeedInterconnectPlacementparameter toNew-AzVmssConfigandNew-AzVmsscmdlets. - Added new parameters
ZonePlacementPolicy,IncludeZone,ExcludeZone,MaxZoneCount,EnableMaxInstancePercentPerZoneandMaxInstancePercentPerZoneValuetoNew-AzVmssConfigcmdlet. - Added new parameters
ZonePlacementPolicy,IncludeZoneandExcludeZonetoNew-AzVmsscmdlet. - Added new parameters
MaxZoneCount,EnableMaxInstancePercentPerZoneandMaxInstancePercentPerZoneValuetoUpdate-AzVmsscmdlet. - Updated Azure.Core from 1.47.3 to 1.50.0
- Added
-ResiliencyViewparameter toGet-AzVmssVMcmdlet- Retrieves the resilient VM deletion status for Virtual Machine Scale Set (VMSS) VMs
- Indicates whether automatic delete retries are in progress, failed, or not started
- Supports monitoring the real-time status of the Resilient Delete feature
- Improved user experience and consistency. This may introduce breaking changes. Please refer to here.
- Updated Azure.Core from 1.45.0 to 1.47.3
- Added
-EnableAutomaticUpgradeand-TreatFailureAsDeploymentFailureparameters (Bool) toNew-AzVmGalleryApplicationandNew-AzVmssGalleryApplicationcmdlets. - Added
-EnableAutomaticUpgradeand-TreatFailureAsDeploymentFailureparameters (Switch) toAdd-AzVmGalleryApplicationandAdd-AzVmssGalleryApplicationcmdlets.
- Added
-Redeployswitch parameter forUpdate-AzHostcmdlet to enable dedicated host redeployment. - Added
-SupportedSecurityOptionparameter toNew-AzDiskConfigcmdlet. - ComputeRP related cmdlets will now use 2025-04-01 version of the ComputeRP API.
- Added
-AddProxyAgentExtensionparameter (Switch) toNew-AzVmssandNew-AzVM - Added
-AddProxyAgentExtensionparameter (Bool) toSet-AzVMProxyAgentSettingandSet-AzVmssProxyAgentSetting
- Added
-InstantAccessDurationMinutesparameter to New-AzSnapshotConfig. - Added
SecureVMGuestStateSASparameter toGrant-AzSnapshotAccess. - Updated SDK to use 2025-04-01 version of the ComputeRP API for Compute related cmdlets.
- Fixed typo 'DeyAll' to 'DenyAll' in NetworkAccessPolicy description.
- Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
- Updated New-AzDiskConfig to include
SecurityMetadataUriandSecurityDataUriparameters. - Updated Grant-AzDisk to return
SecurityMetadataAccessSASproperty.
- Compute DiskRP related cmdlets will now use 2025-01-02 version of the DiskRP API.
- Upgraded SpotPlacementScore cmdlets to api version 2025-06-05
- Support for Metadata Security Protocol (MSP) support for Gallery
- Added new cmdlets
New-AzGalleryInVmAccessControlProfile,Get-AzGalleryInVmAccessControlProfile,Update-AzGalleryInVmAccessControlProfile, andRemove-AzGalleryInVmAccessControlProfileto manage In-VM Access Control Profiles in Azure Compute Gallery. - Added new cmdlets
New-AzGalleryInVmAccessControlProfileVersion,Get-AzGalleryInVmAccessControlProfileVersion,Update-AzGalleryInVmAccessControlProfileVersion, andRemove-AzGalleryInVmAccessControlProfileVersionto manage In-VM Access Control Profile Versions in Azure Compute Gallery. - Added new cmdlet
New0AzGalleryInVmAccessControlProfileVersionConfigto create a local configuration object for In-VM Access Control Profile Version. - Added new cmdlets
Add-AzGalleryInVmAccessControlProfileVersionRulesPrivilegeandRemove-AzGalleryInVmAccessControlProfileVersionRulesPrivilegeto manage privileges in In-VM Access Control Profile Version. - Added new cmdlets
Add-AzGalleryInVmAccessControlProfileVersionRulesRoleandRemove-AzGalleryInVmAccessControlProfileVersionRulesRoleto manage roles in In-VM Access Control Profile Version. - Added new cmdlets
Add-AzGalleryInVmAccessControlProfileVersionRulesIdentityandRemove-AzGalleryInVmAccessControlProfileVersionRulesIdentityto manage identities in In-VM Access Control Profile Version. - Added new cmdlets
Add-AzGalleryInVmAccessControlProfileVersionRulesRoleAssignmentandRemove-AzGalleryInVmAccessControlProfileVersionRulesRoleAssignmentto manage role assignments in In-VM Access Control Profile Version.
- Added new cmdlets
- Added
-EnableProxyAgentparameter toNew-AzVMandNew-AzVmsssimple parameter sets. - Added
-ProxyAgentKeyIncarnationIdparameter toUpdate-AzVmssVMcmdlet. - Added new cmdlets
Set-AzVmssProxyAgentandSet-AzVMProxyAgentto set the proxy agent settings for VM and VMSS.`
- Added breaking change message for
New-AzVMandNew-AzVmsscmdlets.
- Added new properties
Architecture,HyperVGeneration, andImageDeprecationStatusto be returned inGet-AzVMImageListVMImage parameter set. - Deprecated
Get-AzVMSize'List Virtual Machine Size' parameter set. - Added new parameters
EnableAutomaticZoneRebalance,AutomaticZoneRebalanceStrategyandAutomaticZoneRebalanceBehaviortoNew-AzVmssConfigandUpdate-AzVmsscmdlets for VMSS Automatic Zone Rebalancing.
- Added new cmdlets
Add-AzVmssSkuProfileVMSizeandRemove-AzVmssSkuProfileVMSizeto add and remove VM sizes to and from the VMSS SkuProfile. - Added new parameters
ZonePlacementPolicy,IncludeZone,ExcludeZone, andAlignRegionalDisksToVMZoneto cmdletsNew-AzVMandNew-AzVmConfig - Added new parameter
AlignRegionalDisksToVMZoneto cmdletUpdate-AzVM. - VM/VMSS related cmdlets will now use 2024-11-01 ComputeRP API calls.
- Added new parameter
-ReplicationModetoNew-AzGalleryImageVersioncmdlet. - Added new parameter
BlockDeletionBeforeEndOfLifeparameter toNew-AzGalleryImageVersionandUpdate-AzGalleryImageVersioncmdlets. - Updated
New-AzVM,New-AzVmss,Update-AzVM, andUpdate-AzVmssto passStandardas an input of-SecurityTypeparameter. - Added breaking change message for
Get-AzVMSize.
- Added new parameter
EncryptionIdentityto cmdletSet-AzVmssDiskEncryptionExtension - Added new parameter
EncryptionIdentityto cmdletNew-VmssConfig - Added new parameter
EncryptionIdentityto cmdletSet-AzVMDiskEncryptionExtension - Added new parameter
EncryptionIdentityto cmdletNew-AzVMConfig
- Upgraded nuget package to signed package.
- Upgraded Azure.Core to 1.44.1.
- Compute gallery related cmdlets will now use 2024-03-03 GalleryRP API calls.
- Made
-PublicIpSkuparameter Standard by default inNew-AzVM
- Added optional parameters
-SecurityPostureIdand-SecurityPostureExcludeExtensionto cmdletsNew-AzVmssandNew-AzVmssConfig. - Updated image aliases to be up-to-date in the azure-powershell\src\Compute\Strategies\ComputeRp\Images.json file.
- Added
NvmeDiskargument completer toDiffDiskPlacementparameter forSet-AzVMOSDiskandSet-AzVmssStorageProfilecmdlets, allowing options for disk placement asCacheDisk,ResourceDisk, orNvmeDisk.
- Added
SkuProfileVmSizeandSkuProfileAllocationStrategyparameters toNew-AzVmss,New-AzVmssConfig, andUpdate-AzVmsscmdlets for VMSS Instance Mix operations. - Added a new optional parameter
-GenerateSshKey-typeto theNew-AzVMcmdlet, allowing users to specify the type of SSH key to generate (Ed25519 or RSA). - Added cx waning to the
New-AzVMcmdlet, The default value ofpublicIpSkuparameter will be changed from Basic to Standard. - Added
EnableResilientVMCreateandEnableResilientVMDeleteparameters toUpdate-AzVmssandNew-AzVmssConfigcmdlets for enhanced VM resilience options. - Added
IsVMInStandByPoolproperty toPSVirtualMachineInstanceViewobject. [#25736]
- Fixed secrets exposure in example documentation.
- References are updated to use 2024-07-01 ComputeRP and 2024-03-02 DiskRP REST API calls.
- Added information on how to find VM Images when using
New-AzVMwith-Imageparameter. - Added
TimeCreatedread-only field toPSVirtualMachineScaleSetVMProfileobject. - Added parameter
-ResourceIdsOnlytoGet-AzCapacityReservationGroupcmdlet. - Changed the
Set-AzVMOperatingSystemcmdlet when the-VMparameter is used without an OSProfile. Now it will not throw a null reference exception when-Credentialis not provided. - Added parameter
-ForceDetachtoRemove-AzVMDataDiskcmdlet.
- Renamed parameter
-VmIdto-SourceIdand added-VmIdas an alias toNew-AzRestorePointCollectioncmdlet.
- Added parameter
-SourceResourceIdto cmdletAdd-AzVMDataDisk. - Added parameter
-IdentityTypeto cmdletUpdate-AzDiskEncryptionSet. - Added
Invoke-AzSpotPlacementScorecmdlet, which calls the latest Spot Placement Score API. Set the originalInvoke-AzSpotPlacementRecommenderas alias to avoid breaking changes.
- Added new optional parameter
SecureVMGuestStateSASto cmdletGrant-AzDiskAccess. - [Breaking Change] Added ValidateNotNullOrEmpty for
-ResourceGroupNameand-VMScaleSetNameparameters toGet-AzVmsscmdlet. [#20095] - Added
Etagproperty to PSVirtualMachine and PSVirtualMachineScaleSet objects. - Added parameters
-IfMatchand-IfNoneMatchtoUpdate-AzVM,Update-AzVmss,New-AzVm,New-AzVmss,New-AzVmConfig, andNew-AzVmssConfigcmdlets. - [Breaking Change] Cmdlet
New-AzGalleryImageDefinitionwill default parameter-HyperVGenerationtoV2if it is not set asV1explicitly, and also default parameter-Featureby adding@{Name='SecurityType';Value='TrustedLaunchSupported'}if theSecurityTypefeature is not set explicitly. - Resolved the bug with
New-AzVMConfigfor-CommunityGalleryImageIdand-SharedGalleryImageIdparameters. - [Breaking Change] Added ValidateNotNullOrEmpty for
-ResourceGroupNameand-VMScaleSetNameparameters toGet-AzVmsscmdlet. [#20095] - [Breaking Change] Added new business logic to
New-AzVmssandNew-AzVMcmdlets. When the user explicitly sets theSecurityTypetoStandard, the Image alias defaults toWin2022AzureEditionto make future migrations to Trusted Launch easier.
- Added cmdlet
Invoke-AzSpotPlacementRecommender. - Fixed
Update-AzCapacityReservationGroupto remove Subscriptions from SharingProfile.
- Added parameters
-scriptUriManagedIdentity,-outputBlobManagedIdentity,-errorBlobMangedIdentity, and-TreatFailureAsDeploymentFailureto cmdletsSet-AzVmRunCommandandSet-AzVmssRunCommand. - Added new parameter
-EnableAutomaticOSUpgradetoNew-AzVmsscmdlet. - Renamed parameter
-AutoOSUpgradeto-EnableAutomaticOSUpgradeinNew-AzVmssConfigcmdlet for consistency. Using-AutoOSUpgradeas 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
-TierOptiontoNew-AzSnapshotConfig. - Added breaking change warnings for the May 2024 release. The warnings are for:
New-AzGalleryImageVersiondefaulting to turn on TrustedLaunchSupported and HyperVGeneration to V2.New-AzVMandNew-AzVmsswill default to the imageWindows Server 2022 Azure Editioninstead ofWindows 2016 Datacenterby default.Get-AzVmsswill no longer allow empty values toResourceGroupNameandVMScaleSetNameto avoid a bug where it will just return nothing. - Added a new parameter
-SharingProfiletoNew-AzCapacityReservationGroupandUpdate-AzCapacityReservationGroup. - Added the new parameter
SourceImageVMIdto theNew-AzGalleryImageVersioncmdlet. Also added some error messages for this new parameter and the existing parameterSourceImageId. - Updated parameter
-TargetRegioninNew-AzGalleryImageVersionandUpdate-AzGalleryImageVersionto acceptExcludeFromLatestfield.
- Fixed
New-AzVMwhen a source image is specified to avoid an error on theVersionvalue.
- Fixed
New-AzVmssto correctly work when using-EdgeZoneby creating the Load Balancer in the correct edge zone. - Removed references to image aliases in
New-AzVMandNew-AzVmssto images that were removed. - Az.Compute is updated to use the 2023-09-01 ComputeRP REST API calls.
- Added new parameter
-ElasticSanResourceIdtoNew-AzSnapshotConfigcmdlet. - Added new parameter
-OptimizedForFrequentAttachtoNew-AzDiskConfigcmdlet. - Added new examples in
New-AzVMandNew-AzVmssfor TrustedLaunch default usage. - Fixed the
New-AzVMbug to avoid accessing theEncryptionAtHostproperty for subscriptions who cannot access it since it is behind a feature flag. - Updated
Get-AzVmExtensionto return instanceView when used with-Status. - Reverted SSH Private Key File permission changes in
New-AzVm.
- Added update functionality in
Update-AzVmssfor parametersSecurityType,EnableSecureBoot, andEnableVtpmfor the parameter set with the Put operation. - Upgraded Azure.Core to 1.35.0.
- [Breaking change] Removed unversioned and outdated linux image aliases of
CentOS,RHEL,UbuntuLTSandDebian. - [Breaking change]
New-AzVmsswill default toOrchestrationModeset asFlexibleif it is not set asUniformexplicitly. New-AzVmsscan now create VMSS withOrchestrationModeset toFlexibleusing-SinglePlacementGroupand-UpgradePolicy.- Removed unversioned and outdated images from New-AzVmss
-ImageNameargument completers. - [Breaking Change] Added defaulting logic for VM and VMSS creation to set SecurityType to TrustedLaunch and SecureBootEnabled and VTpmEnalbed to true when those are not set by the user.
- [Breaking Change] Added defaulting logic for Disk creation to default to TrustedLaunch when able. Allows the user to turn this off by setting the SecurityType to Standard.
- Added new parameter
-VirtualMachineScaleSetIdtoUpdate-AzVmcmdlet. - Fixed
New-AzVmssandNew-Azvmto useSharedGalleryImageIdparameter. - Reduced File Permissions from 0644 to 0600 for SSH Private Key File in
New-AzVm. - Removed GuestAttestation vm extension installation for Vmss and Vm creation cmdlets.
- Added
-Hibernateswitch parameter toStop-AzVmssdefault parameter set. - For
Get-AzVmRunCommand, a bug is fixed to work when returning a list of RunCommands [#22403] - Updated Azure.Core to 1.34.0.
- Added new cmdlets
Get-AzHostSizeandUpdate-AzHost. - Added the
Standardvalue to theSecurityTypeparameter to the cmdletsSet-AzDiskSecurityType,New-AzvmssConfig,Set-AzVmssSecurityProfile,Update-AzVmss,New-AzVmss,New-AzVMConfig,Set-AzVMsecurityProfile, andNew-AzVM. - Fixed
Update-AzVMSSto update ImageReferenceSKU [#22195] - Updated the above change to include
New-AzVMConfigas 1 scenario was initially missed when only using this cmdlet.
- Fixed the
Update-AzVmsscmdlet so theAutomaticRepairGracePeriod,AutomaticRepairAction, andEnableAutomaticRepairparameters function correctly. - Updated help doc for
New-AzVM,New-AzVMConfig,New-AzVmss,New-AzVmssConfig,Update-AzVM, andUpdate-AzVmssto include parameters that were previously added for Trusted Launch features. - Updated Azure.Core to 1.33.0.
- Added useful examples to the
New-AzVMConfighelp doc. - Added new
ResourceIdparameter to theGet-AzVmsscmdlet. - Added
-SecurityType,-EnableSecureBootand-EnableVtpmparameters toNew-AzVm,New-AzVmConfig,New-AzVmss,New-AzVmssConfig,Update-AzVmandUpdate-AzVmsscmdlets. - Configured parameter flags
-EnableSecureBootand-EnableVtpmto default to True for TrustedLaunch and ConfidentialVM values for the-SecurityTypeparameter inNew-AzVm,New-AzVmConfig,New-AzVmss,New-AzVmssConfig,Update-AzVmandUpdate-AzVmsscmdlets. - Added a message to the user when they provide an outdated image alias to
New-AzVMvia the-Imageparameter or toNew-AzVmssvia the-ImageNameparameter. The non-versioned image aliases were updated to versioned values in October 2023, and this message is to help urge customers to use the newer versioned image alias values. - Changed the installation behavior for the
GuestAttestationextension inNew-AzVMandNew-AzVmssto set the propertyEnableAutomaticUpgradeto true. - Changes to
Set-AzVMOperatingSystemto correct unnecessary mandatory parameters. - Changed the region for example 3 to eastus2 in the
New-AzVMdoc to resolve SKU not available errors.
- Added new switch parameter
OSImageScheduledEventEnabledand string parameterOSImageScheduledEventNotBeforeTimeoutInMinutesto the cmdletsNew-AzVmssConfigandUpdate-AzVmss. - Fixed an issue that
Add-AzVhdthrowsFileNotFoundExceptionon Windows PowerShell. [#21321] - Removed the
NextLinkparameter and parameter set from theGet-AzVMcmdlet.
- Added a breaking change warning to the
Get-AzVMcmdlet to show that theNextLinkparameter and parameter set will be removed in June 2023. The parameter has been non-functional for a long time. - Updated the breaking change warning in
New-AzVMandNew-AzVmssregarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. - Updated the
Get-AzVMRunCommandto include theProvisioningStatevalue. Fix [#21473] - Updated Azure.Core to 1.31.0.
- Addressed bug in
Remove-AzVmssto throw error when-InstanceIdis null. [#21162] - Added
-CustomData,-AdminPassword, and-ExactVersionparameters toInvoke-AzVMReimage. - Removed the image alias
CoreOSas the publisher CoreOS no longer has any images for Azure. Updated the names of theopenSUSE-LeapandSLESaliases toOpenSuseLeap154andSuseSles15SP4respectively. Updated these aliases to point to an image that actually exists. - Added a breaking change warning to
New-AzVMandNew-AzVmssfor future planned image alias removals due to the images reaching their End of Support date. - Added new descriptive and versioned alias names for the Linux image aliases, including a new alias for the
Kinvolkpublisher. - Added 'ImageDeprecationStatus' to the output of Get-AzVmImage.
- Added
-NetworkAccessPolicyparameter toNew-AzSnapshotUpdateConfig. - Added
-SharedGalleryImageIdparameter toNew-AzVM,New-AzVmConfig,New-AzVmss,New-AzVmssConfig,Update-AzVmss, andSet-AzVmssStorageProfile. - Updated
Set-AzVMDiagnosticsExtensionto correct capitalization by passing "StorageAccount" as configuration property instead of "storageAccount". - Added condition in Automapper configurations to check for null Tag values for
PSDiskUpdateandPSSnapshotUpdateto fix bug in Update-AzDisk and Update-AzSnapshot.
- Added breaking change message for
New-AzVmss. - Added
-PerformancePlusparameter toNew-AzDiskConfig - Added 'MaxSurge' to Set-AzVmssRollingUpgradePolicyCommand
- Added support for 'latest' in 'Get-AzvmImage' '-Version' parameter
- Added
CompletionPercentproperty to PSDisk object.
- Added
-SkipIdentity,-PathUserIdentity,-IsTestparameter toSet-AzVMAEMExtension - Added
ConsistencyModeparameter toNew-AzRestorePoint. - Updated the storage account type value in several locations from the outdated
StandardLRSto the currentStandard_LRS. - Filled in missing parameter descriptions across multiple parameters and improved some existing parameter descriptions.
- Updated Compute PS to use the new .Net SDK version 59.0.0. This includes an approved breaking change for a non-functional feature.
- The type of the property
Sourceof typeMicrosoft.Azure.Management.Compute.Models.GalleryDataDiskImage,Microsoft.Azure.Management.Compute.Models.GalleryOSDiskImage, andMicrosoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfilehas changed fromMicrosoft.Azure.Management.Compute.Models.GalleryArtifactVersionSourcetoMicrosoft.Azure.Management.Compute.Models.GalleryDiskImageSource.
- The type of the property
- Updated the broken
UbuntuLTSimage alias to use its original sku version of16.04-LTSinstead of the nonexistent image20.04-LTS. This fixes an issue introduced in the version 5.3.0 release. - Updated Set-AzVMRunCommand and Set-AzVmssRunCommand ScriptLocalPath parameter set to work with Linux and with files that have comments.
- Added
-TargetExtendedLocationparameter toNew-AzGalleryImageVersionandUpdate-AzGalleryImageVersion - Added
-AllowDeletionOfReplicatedLocationtoUpdate-AzGalleryImageVersion
- Removed the image
Win2008R2SP1from the list of available images and documentation. This image is no longer available on the backend so the client tools need to sync to that change. - Fixed a bug for creating Linux VM's from SIG/Community Gallery Images
- Added
ImageReferenceIdstring parameter to theNew-AzVmssConfigcmdlet. This allows gallery image references to be added for the Confidential VM feature. - Added
SecurityEncryptionTypeandSecureVMDiskEncryptionSetstring parameters to theSet-AzVmssStorageProfilecmdlet for the Confidential VM feature.
- Fixed issue found for
Set-AzVmssVMRunCommand[#19985] - Fixed
Get-AzVmcmdlet when parameter "-Status" is provided, return propertyOsName,OsVersionandHyperVGeneration - Fixed
New-AzVMcmdlet when creating VM with bootdiagnostic storage causes exceptionKindcannot be null.
- Upgraded AutoMapper to Microsoft.Azure.PowerShell.AutoMapper 6.2.2 with fix [#18721]
- Fixed EdgeZone does not pass to VM for
New-AzVM"SimpleParameterSet" [#18978] - Added 'ScriptFilePath' parameter set for
Set-AzVMRunCommandandSet-AzVmssVMRunCommandto allow users to pass in the path of the file that has the run command script - Added
-AsJoboptional parameter toRemove-AzVMExtensioncmdlet. - Added
-EdgeZoneoptional parameter forGet-AzComputeResourceSkuandNew-AzSnapshotUpdateConfigcmdlets. - Added Disk Delete Optional parameters
OsDisk Deletion OptionandDelete Optionto theSet-AzVmssStorageProfile(OS Disk) andAdd-AzVmssDataDisk(Data Disk) - Improved printed output for
Get-AzComputeResourceSku - Updated
Get-AzHostcmdlet logic to return Host for-ResourceIdparameterset. - Added
-OSDiskSizeGBoptional parameter forSet-AzVmssStorageProfile. - Improved cmdlet description for
Set-AzVMand added examples. - Updated property mapping for parameter
EncryptionofNew-AzGalleryImageVersion - Updated list format to display all VmssVmRunCommand properties for
Get-AzVmssVmRunCommand - Updated
Get-AzGallery,New-AzGallery,Update-AzGallery,Get-AzGalleryImageDefinition,Get-AzGalleryImageVersion,New-AzVmandNew-AzVmssto support community galleries
- Added the
TimeCreatedproperty to the Virtual Machine and Virtual Machine Scale Set models. - Added Confidential VM functionality to multiple cmdlets.
- Added new parameter
SecureVMDiskEncryptionSetto cmdletSet-AzDiskSecurityProfile. - Added new parameters
SecureVMDiskEncryptionSetandSecurityEncryptionTypeto cmdletSet-AzVMOSDisk.
- Added new parameter
- Improved cmdlet descriptions and parameter descriptions for VM/VMSS creation.
- Added the 'BaseRegularPriorityCount' integer property to the following cmdlets:
New-AzVmssConfigandUpdate-AzVmssConfig - Added the 'RegularPriorityPercentage' integer property to the following cmdlets:
New-AzVmssConfigandUpdate-AzVmssConfig - Added Breaking Changes for Add-AzVMAdditionalUnattendContent and Get-AzGallery cmdlets
- Added
-DiskControllerTypeproperty to the following cmdlets:New-AzVm,New-AzVmss,New-AzVmConfig,Set-AzVmssStorageProfile
- Added Trusted Launch Generic Breaking Change warning for
New-AzVM,New-AzDiskandNew-AzVMSScmdlets. Get-AzVMRunCommandnow shows all the properties of VMRunCommand in a list format.- Added new Parameter
-PublicIpSkuto theNewAzVMcmdlet with acceptable values : "Basic" and "Standard". - Added Generic Breaking Change PublicIpSku Warning and Overridden
-Zonelogic when-PublicIpSkuis explicitly provided. - Added Disk Delete Optional parameters
OsDisk Deletion OptionandDelete Optionto theSet-AzVmssStorageProfile(OS Disk) andAdd-AzVmssDataDisk(Data Disk) - Improved printed output for
Get-AzComputeResourceSku - Updated
Update-AzVmto give constructive error messages when empty variables are passed in parameters. [#15081] - Added
ZoneandIntentVMSizeListoptional parameters to the cmdletNew-AzProximityPlacementGroup. - Added parameters to Gallery cmdlets for Community Galleries
- For
New-AzGalleryImageVersion,CVMEncryptionTypeandCVMDiskEncryptionSetIDadded as keys for parameter-Target.
- Added parameters
PackageFileName,ConfigFileNameforNew-AzGalleryApplicationVersion
- Added image alias 'Win2022AzureEditionCore'
- Added the
-DisableIntegrityMonitoringswitch parameter to theNew-AzVMcmdlet. Changed the default behavior forNew-AzVMandNew-AzVmsswhen these conditions are met:-DisableIntegrityMonitoringis not true.SecurityTypeon the SecurityProfile isTrustedLaunch.VTpmEnabledon the SecurityProfile is true.SecureBootEnabledon the SecurityProfile is true. NowNew-AzVMwill install theGuest Attestationextension to the new VM when these conditions are met. NowNew-AzVmsswill install theGuest Attestationextension to the new Vmss when these conditions are met and installed to all VM instances in the Vmss.
- Added
-UserAssignedIdentityand-FederatedClientIdto the following cmdlets:New-AzDiskEncryptionSetConfigUpdate-AzDiskEncryptionSet
- Added
-TreatFailureAsDeploymentFailureto cmdletsAdd-AzVmGalleryApplicationandAdd-AzVmssGalleryApplication - Removed Exceptions for when SinglePlacementGroup is set to true in 'OrchestrationMode'
- For
Add-AzVhdupon upload failure using DirectUploadToManagedDisk parameter set, the SAS will be revoked and the created managed disk will be deleted. - An unresolved path can be passed in for '-LocalFilePath' for
Add-AzVhd. The cmdlet with unresolve the path itself. - Added
-DataAccessAuthModeparameter to Add-AzVhd DirectUploadToManagedDisk parameter set. - Added
-EnableUltraSSDparameter to New-AzHostGroup.
- Edited
New-AzVmcmdlet internal logic to use thePlatformFaultDomainvalue in thePSVirtualMachineobject passed to it in the new virtual machine. - Added a new cmdlet named
Restart-AzHostto restart dedicated hosts. - Added
-DataAccessAuthModeparameter to the following cmdlets:New-AzDiskConfigNew-AzDiskUpdateConfigNew-AzSnapshotConfigNew-AzSnapshotUpdateConfig
- Added
-Architectureparameter to the following cmdlets:New-AzDiskConfigNew-AzDiskUpdateConfigNew-AzSnapshotConfigNew-AzSnapshotUpdateConfigNew-AzGalleryImageDefinition
- Added
-InstanceViewparameter toGet-AzRestorePoint - Added parameter
-ScriptStringtoInvoke-AzvmRunCommandandInvoke-AzvmssRunCommand - Added parameter
-ScaleInPolicyForceDeletiontoUpdate-Azvmss
- Added
-ImageReferenceIdparameter 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-AzGallerycan take in-Permissionparameter to set its sharingProfile property.Update-AzGallerycan update sharingProfile.Get-AzGallerycan take in-Expandparameter 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
-DiskHyperVGenerationand-DiskOsTypeparameters 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
-ResourceGroupNameparameter as optional when it is actually mandatory.
- Added
- Updated
New-AzVMto create a new storage account for boot diagnostics if one does not exist. This will prevent the cmdlet from using a random storage account in the current subscription to use for boot diagnostics. - Added
AutomaticRepairActionstring parameter to theNew-AzVmssConfigandUpdate-AzVmsscmdlets. - Updated
Get-AzVmto includeGetVirtualMachineByIdparameter set. - Edited the documentation for the cmdlet
Set-AzVMADDomainExtensionto ensure the example is accurate. - Improved description and examples for disk creation.
- Added new parameters to
New-AzRestorePointandNew-AzRestorePointCollectionfor copying Restore Points and Restore Point Collections. - Added
ZoneandPlacementGroupIdParameters toRepair-AzVmssServiceFabricUpdateDomain. - Edited
New-AzVmsslogic to better check for null properties when the parameterOrchestrationModeis used.
- Updated New-AzVM feature for
vCPUsAvailableandvCPUsPerCoreparameters. Cmdlets will not try to use the newVMCustomizationPreviewfeature if the user does not have access to that feature. [#17370]
- Upgraded Compute .NET SDK package reference to version 52.0.0
- Updated
New-AzSshKeycmdlet to write file paths to generated keys to the Warning stream instead of the console. - Added
vCPUsAvailableandvCPUsPerCoreinteger parameters to theNew-AzVm,New-AzVmConfig, andUpdate-AzVmcmdlets.
- Remove ProvisioningDetails property from PSRestorePoint object.
- Updated
Set-AzVmExtensioncmdlet to properly display-Nameand-Locationparameters as mandatory. - Edited
New-AzVmssConfigsecond example so it runs successfully by changing the Tag input to the correct format. - Added
Hibernateparameter toStop-AzVmcmdlet. - Added
HibernationEnabledparameter toNew-AzVm,New-AzVmConfig, andUpdate-AzVmcmdlets. - Added
EnableHotpatchingparameter to theSet-AzVmssOSProfilecmdlet. - Added 'ForceDeletion' parameter to Remove-AzVM and Remove-AzVMSS.
- Updated
UserDataparameter in VM and VMSS cmdlets to pipe by the Property Name to ensure piping scenarios occur correctly. - Changed
New-AzVMcmdlet when using the SimpleParameterSet to not create aPublicIPAddresswhen aPublicIPAddressname is not provided. - Added
PlatformFaultDomainparameter to cmdlets:New-AzVMandNew-AzVMConfig - Added
-Featureparameter forNew-AzGalleryImageDefinition - Added
DiffDiskPlacementstring parameter toSet-AzVmOSDiskandSet-AzVmssStorageProfilecmdlets.
- Contains updates to the following powershell cmdlets
SetAzVmssDiskEncryptionExtension: Added extension parameters for the cmdlet to work with test extensions and parameterEncryptFormatAllfor Virtual Machine Scale SetsGetAzVmssVMDiskEncryptionStatus: Modified the functionality of the cmdlet to properly display the encryption status of data disks of Virtual Machine Scale SetsSetAzDiskEncryptionExtension: Fixed a bug in the cmdlet in the migrate scenario from 2pass to 1pass encryption
- Added
Add-AzVhdto convert VHD using Hyper-V - Added
UserDataparameter to VM and VMSS cmdlets - Added string parameter
PublicNetworkAccessto DiskConfig and SnapshotConfig cmdlets - Added boolean parameter
AcceleratedNetworkto DiskConfig and SnapshotConfig cmdlets - Added
CompletionPercentproperty to the PSSnapshot model so it is visible to the user.
- Added cmdlets to support gallery applications and versions:
- Get-AzGalleryApplication
- Get-AzGalleryApplicationVersion
- New-AzGalleryApplication
- New-AzGalleryApplicationVersion
- Remove-AzGalleryApplication
- Remove-AzGalleryApplicationVersion
- Update-AzGalleryApplication
- Update-AzGalleryApplicationVersion
- Update-AzVM will update ApplicationProfile.
- Added new cmdlets:
- Add-AzVmssRunCommand
- Remove-AzVmssRunCommand
- Added cmdlets for adding VMGalleryApplication property to VM/VMSS
- New-AzVmGalleryApplication
- New-AzVmssGalleryApplication
- Add-AzVmGalleryApplication
- Add-AzVmssGalleryApplication
- Remove-AzVmGalleryApplication
- Remove-AzVmssGalleryApplication
- Added support for proxy and debug settings for VM Extension for SAP (AEM)
- Updated New-AzGalleryImageVersion to take in the 'Encryption' property correctly from '-TargetRegion' parameter.
- Updated Set-AzVmBootDiagnostic to default to managed storage account if not provided.
- Edited New-AzVmss defaulting behavior when
OrchestrationModeis set to Flexible.- Removed NAT Pool.
- Removed UpgradePolicy. Throws an error if provided.
- SinglePlacementGroup must be false. Throws an error if true.
- Networking Profile's API version is 2020-11-01 or later.
- Networking Profile IP Configurations Primary property is set to true.
- Updated Compute .NET SDK package reference to version 49.1.0
- Fixed a bug in
Get-AzVMthat caused incorrect power status output.
- Added new parameters
-LinuxConfigurationPatchMode,-WindowsConfigurationPatchMode, and-LinuxConfigurationProvisionVMAgenttoSet-AzVmssOSProfile - Added new parameters
-SshKeyNameand-GenerateSshKeytoNew-AzVMto create a VM with SSH - Fixed a bug in
Add-AzVHDon Linux that caused uploads to fail for certain destination URI - Added new cmdlets for Restore Points and Restore Point Collection:
- 'New-AzRestorePoint'
- 'New-AzRestorePointCollection'
- 'Get-AzRestorePoint'
- 'Get-AzRestorePointCollection'
- 'Update-AzRestorePointCollection'
- 'Remove-AzRestorePoint'
- 'Remove-AzRestorePointCollection'
- Added new parameters '-EnableSpotRestore' and '-SpotRestoreTimeout' to 'New-AzVMSSConfig' to enable Spot Restore Policy
- Added new cmdlets:
Update-AzCapacityReservationGroupandUpdate-AzCapacityReservation
- Fixed the warning in
New-AzVMcmdlet 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-AzVmOperatingSystemcmdlet 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-AzCapacityReservationGroupRemove-AzCapacityReservationGroupGet-AzCapacityReservationGroupNew-AzCapacityReservationRemove-AzCapacityReservationGet-AzCapacityReservation
- Added a new parameter
-CapacityReservationGroupIdto the following cmdlets:New-AzVmNew-AzVmConfigNew-AzVmssNew-AzVmssConfigUpdate-AzVmUpdate-AzVmss
- Added optional parameter
-OrchestrationModetoNew-AzVmssandNew-AzVmssConfig - Updated the following cmdlets to work when the resource uses a remote image source using AKS or Shared Image Gallery.
Update-AzVmUpdate-AzVmssUpdate-AzGalleryImageVersion
- Added parameters
-EnableCrossZoneUpgradeand-PrioritizeUnhealthyInstanceto theSet-AzVmssRollingUpgradePolicy - Added
AssessmentModeparameter to theSet-AzVMOperatingSystemcmdlet. - Fixed a bug in
Add-AzVmssNetworkInterfaceConfiguration - Fixed IOPS and throughput check in
Test-AzVMAEMExtension - Added new cmdlets for 2020-12-01 DiskRP API version
- New-AzDiskPurchasePlanConfig
- Set-AzDiskSecurityProfile
- Changed Cmdlets for 2020-12-01 DiskRP API version
- New-AzDiskConfig
- New-AzSnapshotConfig
- New-AzSnapshotUpdateConfig
- New-AzDiskUpdateConfig
- New-AzDiskEncryptionSetConfig
- Update-AzDiskEncryptionSet
- Updated Compute module to use the latest .Net SDK version 47.0.0.
- Added
Invoke-AzVmInstallPatchto support patch installation in VMs using PowerShell. - Updated Compute module to use the latest .Net SDK version 46.0.0.
- Added optional parameter
-EdgeZoneto the following cmdlets:- `Get-AzVMImage
Get-AzVMImageOfferGet-AzVMImageSkuNew-AzDiskConfigNew-AzImageConfigNew-AzSnapshotConfigNew-AzVMNew-AzVmssConfigNew-AzVMSS
- Added cmdlets to create, update, delete, and get new Azure resource: Ssh Public Key
New-AzSshKeyRemove-AzSshKeyGet-AzSshKeyUpdate-AzSshKey
- Updated the
Set-AzVMDiskEncryptionExtensioncmdlet to support ADE extension migration from two pass (version with AAD input parameters) to single pass (version without AAD input parameters).- Added a switch parameter
-Migrateto trigger migration workflow. - Added a switch parameter
-MigrationRecoveryto trigger recovery workflow for VMs experiencing failures after migration from two pass ADE.
- Added a switch parameter
- Added
Win2019Datacenterin the argument completer list forImageparameter in theNew-AzVMcmdlet.
- Fixed a bug when 1 data disk attached to VMSS for Remove-AzVmssDataDisk [#13368]
- Added new cmdlets to support TrustedLaunch related cmdlets:
Set-AzVmSecurityProfileSet-AzVmUefiSet-AzVmssSecurityProfileSet-AzVmssUefi
- Edited default value for Size parameter in New-AzVM cmdlet from Standard_DS1_v2 to Standard_D2s_v3.
- Added parameter
-EnableHotpatchingto theSet-AzVMOperatingSystemcmdlet for Windows machines. - Added parameter
-PatchModeto the Linux parameter sets in the cmdletSet-AzVMOperatingSystem. - [Breaking Change] Breaking changes for users in the public preview for the VM Guest Patching feature.
- Removed property
RebootStatusfrom theMicrosoft.Azure.Management.Compute.Models.LastPatchInstallationSummaryobject. - Removed property
StartedByfrom theMicrosoft.Azure.Management.Compute.Models.LastPatchInstallationSummaryobject. - Renamed property
KbidtoKbIdin theMicrosoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchPropertiesobject. - Renamed property
patchestoavailablePatchesin theMicrosoft.Azure.Management.Compute.Models.VirtualMachineAssessPatchesResultobject. - Renamed object
Microsoft.Azure.Management.Compute.Models.SoftwareUpdateRebootBehaviortoMicrosoft.Azure.Management.Compute.Models.VMGuestPatchRebootBehavior. - Renamed object
Microsoft.Azure.Management.Compute.Models.InGuestPatchModetoMicrosoft.Azure.Management.Compute.Models.WindowsVMGuestPatchMode.
- Removed property
- [Breaking Change] Removed all
ContainerServicecmdlets. The Container Service API was deprecated in January 2020.Add-AzContainerServiceAgentPoolProfileGet-AzContainerServiceNew-AzContainerServiceNew-AzContainerServiceConfigRemove-AzContainerServiceRemove-AzContainerServiceAgentPoolProfileUpdate-AzContainerService
- Added parameter
-EnableAutomaticUpgradetoSet-AzVmExtensionandAdd-AzVmssExtension. - Removed FilterExpression parameter from
Get-AzVMImagecmdlet documentation. - Added deprecation message to the ContainerService cmdlets:
Add-AzureRmContainerServiceAgentPoolProfileCommandGet-AzContainerServiceNew-AzContainerServiceNew-AzContainerServiceConfigRemove-AzContainerServiceRemove-AzContainerServiceAgentPoolProfileUpdate-AzContainerService
- Added parameter
-BurstingEnabledtoNew-AzDiskConfigandNew-AzDiskUpdateConfig - Added
-GroupByApplicationIdand-GroupByUserAgentparameters to theExport-AzLogAnalyticThrottledRequestandExport-AzLogAnalyticRequestRateByIntervalcmdlets. - Added
VMParameterSetparameter set toGet-AzVMExtensioncmdlet. Added new parameter-VMto this parameter set.
- New parameter
VMin new parameter setVMParameterSetadded toGet-AzVMDscExtensionStatusandGet-AzVMDscExtensioncmdlets. - Edited
New-AzSnapshotcmdlet to check for existing snapshot with the same name in the same resource group.- Throws an error if a duplicate snapshot exists.
- Edited Get-AzVm to filter by
-Nameprior to checking for throttling due to too many resources. - New cmdlet
Start-AzVmssRollingExtensionUpgrade.
- Added
-VmssIdparameter toNew-AzVm - Added
PlatformFaultDomainCountparameter to theNew-AzVmsscmdlet. - New cmdlet
Get-AzDiskEncryptionSetAssociatedResource - Added
TierandLogicalSectorSizeoptional parameters to the New-AzDiskConfig cmdlet. - Added
Tier,MaxSharesCount,DiskIOPSReadOnly, andDiskMBpsReadOnlyoptional parameters to theNew-AzDiskUpdateConfigcmdlet. - Modified
Get-AzVmBootDiagnosticscmdlet to use the new RetrieveBootDiagnosticsData API instead of directly accessing the BootDiagnostics properties on the virtual machine.
- Fixed issue in
Update-ASRRecoveryPlanby populating FailoverTypes - Added the
-Topand-OrderByoptional parameters to theGet-AzVmImagecmdlet.
- Added the
-EncryptionTypeoptional parameter toNew-AzVmDiskEncryptionSetConfig - New cmdlets for new resource type: DiskAccess
Get-AzDiskAccess,New-AzDiskAccess,Get-AzDiskAccess - Added optional parameters
-DiskAccessIdand-NetworkAccessPolicytoNew-AzSnapshotConfig - Added optional parameters
-DiskAccessIdand-NetworkAccessPolicytoNew-AzDiskConfig - Added
PatchStatusproperty to VirtualMachine Instance View - Added
VMHealthproperty to the virtual machine's instance view, which is the returned object whenGet-AzVmis invoked with-Status - Added
AssignedHostfield toGet-AzVMandGet-AzVmssinstance views. The field shows the resource id of the virtual machine instance - Added optional parameter
-SupportAutomaticPlacementtoNew-AzHostGroup - Added the
-HostGroupIdparameter toNew-AzVmandNew-AzVmss
- Patched
-EncryptionAtHostparameter inNew-AzVmto remove default value of false [#12776]
- Added
-EncryptionAtHostparameter toNew-AzVm,New-AzVmss,New-AzVMConfig,New-AzVmssConfig,Update-AzVM, andUpdate-AzVmss - Added
SecurityProfiletoGet-AzVMandGet-AzVmssreturn object - Added
-InstanceViewswitch as optional parameter toGet-AzHostGroup - Added new cmdlet
Invoke-AzVmPatchAssessment
- Added warning when using
New-AzVmsswithout "latest" image version - Added '-Location' as optional positional parameter to Get-AzComputeResourceSku cmdlet
- Added SimulateEviction parameter to Set-AzVM and Set-AzVmssVM cmdlets.
- Added 'Premium_LRS' to the argument completer of StorageAccountType parameter for New-AzGalleryImageVersion cmdlet.
- Added Substatuses to VMCustomScriptExtension [#11297]
- Added 'Delete' to the argument completer of EvictionPolicy parameter for New-AzVM and New-AzVMConfig cmdlets.
- Fixed name of new VM Extension for SAP
- Added HostId parameter to
Update-AzVMcmdlet - Updated Help documents for
New-AzVMConfig,New-AzVmssConfig,Update-AzVmss,Set-AzVMOperatingSystemandSet-AzVmssOsProfilecmdlets. - Breaking changes
- FilterExpression parameter is removed from
Get-AzVMImagecmdlet. - AssignIdentity parameter is removed from
New-AzVmssConfig,New-AzVMConfigandUpdate-AzVMcmdlets. - AutomaticRepairMaxInstanceRepairsPercent is removed from
New-AzVmssConfigandUpdate-AzVmsscmdlets. - AvailabilitySetsColocationStatus, VirtualMachinesColocationStatus and VirtualMachineScaleSetsColocationStatus properties are removed from ProximityPlacementGroup.
- MaxInstanceRepairsPercent property is removed from AutomaticRepairsPolicy.
- The types of AvailabilitySets, VirtualMachines and VirtualMachineScaleSets are changed from IList to IList.
- FilterExpression parameter is removed from
- Description for
Get-AzVMcmdlet has been updated to better describe it.
- Added
Set-AzVmssOrchestrationServiceStatecmdlet. Get-AzVmsswith -InstanceView shows OrchestrationService states.
- Added the following parameters to
New-AzDiskConfigcmdlet:- DiskIOPSReadOnly, DiskMBpsReadOnly, MaxSharesCount, GalleryImageReference
- Allowed Encryption property to Target parameter of
New-AzGalleryImageVersioncmdlet. - Fixed tempDisk issue for
Set-AzVmss-Reimage andInvoke-AzVMReimagecmdlets. [#11354] - Added support to below cmdlets for new SAP Extension
Set-AzVMAEMExtensionGet-AzVMAEMExtensionRemove-AzVMAEMExtensionUpdate-AzVMAEMExtension
- Fixed errors in examples of help document
- Showed the exact string value for VM PowerState in the table format.
New-AzVmssConfig: fixed serialization of AutomaticRepairs property when SinglePlacementGroup is disabled. [#11257]
- Allowed empty value for ProximityPlacementGroupId during update
- Limit the number of VM status to 100 to avoid throttling when Get-AzVM -Status is performed without VM name.
- Add Update-AzDiskEncryptionSet cmdlet
- Add EncryptionType and DiskEncryptionSetId parameters to the following cmdlets:
- New-AzDiskUpdateConfig, New-AzSnapshotUpdateConfig
- Add ColocationStatus parameter to Get-AzProximityPlacementGroup cmdlet.
- Fix broken example code for 'Revoke-AzSnapshotAccess' and 'Grant-AzSnapshotAccess'
- Fix broken example code for 'Set-AzDiskDiskEncryptionKey' and 'Set-AzDiskKeyEncryptionKey'
- Fix Set-AzVMCustomScriptExtension cmdlet for a VM with managed OD disk which does not have OS profile.
- Updated the example of
Set-AzVMAccessExtensionto use version 2.4 instead of 2.0
- Add ProximityPlacementGroupId parameter to the following cmdlets:
- Update-AzAvailabilitySet, Update-AzVM, Update-AzVmss
- Change ProximityPlacementGroup parameter to ProximityPlacementGroupId parameter in New-AzVM and New-AzVmss. (ProximityPlacementGroup parameter is still supported as an alias)
- Update help message for VM and VMSS priority.
- Update references in .psd1 to use relative path
- VM Reapply feature
- Add Reapply parameter to Set-AzVM cmdlet
- VM Scale Set AutomaticRepairs feature:
- Add EnableAutomaticRepair, AutomaticRepairGracePeriod, and AutomaticRepairMaxInstanceRepairsPercent parameters to the following cmdlets: New-AzVmssConfig Update-AzVmss
- Cross tenant gallery image support for New-AzVM
- Add 'Spot' to the argument completer of Priority parameter in New-AzVM, New-AzVMConfig and New-AzVmss cmdlets
- Add DiskIOPSReadWrite and DiskMBpsReadWrite parameters to Add-AzVmssDataDisk cmdlet
- Change SourceImageId parameter of New-AzGalleryImageVersion cmdlet to optional
- Add OSDiskImage and DataDiskImage parameters to New-AzGalleryImageVersion cmdlet
- Add HyperVGeneration parameter to New-AzGalleryImageDefinition cmdlet
- Add SkipExtensionsOnOverprovisionedVMs parameters to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
- Disk Encryption Set feature
- New cmdlets: New-AzDiskEncryptionSetConfig New-AzDiskEncryptionSet Get-AzDiskEncryptionSet Remove-AzDiskEncryptionSet
- DiskEncryptionSetId parameter is added to the following cmdlets: Set-AzImageOSDisk Set-AzVMOSDisk Set-AzVmssStorageProfile Add-AzImageDataDisk New-AzVMDataDisk Set-AzVMDataDisk Add-AzVMDataDisk Add-AzVmssDataDisk Add-AzVmssVMDataDisk
- DiskEncryptionSetId and EncryptionType parameters are added to the following cmdlets: New-AzDiskConfig New-AzSnapshotConfig
- Add PublicIPAddressVersion parameter to New-AzVmssIPConfig
- Move FileUris of custom script extension from public setting to protected setting
- Add ScaleInPolicy to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
- Breaking changes
- UploadSizeInBytes parameter is used instead of DiskSizeGB for New-AzDiskConfig when CreateOption is Upload
- PublishingProfile.Source.ManagedImage.Id is replaced with StorageProfile.Source.Id in GalleryImageVersion object
- Add Priority, EvictionPolicy, and MaxPrice parameters to New-AzVM and New-AzVmss cmdlets
- Fix warning message and help document for Add-AzVMAdditionalUnattendContent and Add-AzVMSshPublicKey cmdlets
- Fix -skipVmBackup exception for Linux VMs with managed disks for Set-AzVMDiskEncryptionExtension.
- Fix bug in update encryption settings in Set-AzVMDiskEncryptionExtension, two pass scenario.
- Add UploadSizeInBytes parameter tp New-AzDiskConfig
- Add Incremental parameter to New-AzSnapshotConfig
- Add a low priority virtual machine feature:
- MaxPrice, EvictionPolicy and Priority parameters are added to New-AzVMConfig.
- MaxPrice parameter is added to New-AzVmssConfig, Update-AzVM and Update-AzVmss cmdlets.
- Fix VM reference issue for Get-AzAvailabilitySet cmdlet when it lists all availability sets in the subscription.
- Fix the null exception for Get-AzRemoteDesktopFile.
- Fix VHD Seek method for end-relative position.
- Fix UltraSSD issue for New-AzVM and Update-AzVM.
- Fix code to allow non default extension publisher, type and name for Get-AzVMDiskEncryptionStatus
- Add VmssId to New-AzVMConfig cmdlet
- Add TerminateScheduledEvents and TerminateScheduledEventNotBeforeTimeoutInMinutes parameters to New-AzVmssConfig and Update-AzVmss
- Add HyperVGeneration property to VM image object
- Add 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
- Fixed miscellaneous typos across module
- Update example in
Invoke-AzVMRunCommanddocumentation to use correct parameter name - Update
-VolumeTypedescription inSet-AzVMDiskEncryptionExtensionandSet-AzVmssDiskEncryptionExtensionreference documentation
- Add missing properties (ComputerName, OsName, OsVersion and HyperVGeneration) of VM instance view object.
- Add HyperVGeneration parameter to New-AzImageConfig
- Use the extension type instead of the name when disabling vmss disk encryption
- New-AzVm and New-AzVmss simple parameter sets now accept the
ProximityPlacementGroupparameter. - Fix typo in
New-AzVMreference documentation
- Added
NoWaitparameter that starts the operation and returns immediately, before the operation is completed.- Updated cmdlets: Export-AzLogAnalyticRequestRateByInterval Export-AzLogAnalyticThrottledRequest Remove-AzVM Remove-AzVMAccessExtension Remove-AzVMAEMExtension Remove-AzVMChefExtension Remove-AzVMCustomScriptExtension Remove-AzVMDiagnosticsExtension Remove-AzVMDiskEncryptionExtension Remove-AzVMDscExtension Remove-AzVMSqlServerExtension Restart-AzVM Set-AzVM Set-AzVMAccessExtension Set-AzVMADDomainExtension Set-AzVMAEMExtension Set-AzVMBginfoExtension Set-AzVMChefExtension Set-AzVMCustomScriptExtension Set-AzVMDiagnosticsExtension Set-AzVMDscExtension Set-AzVMExtension Start-AzVM Stop-AzVM Update-AzVM
- Add ProtectFromScaleIn and ProtectFromScaleSetAction parameters to Update-AzVmssVM cmdlet.
- New-AzVM simple parameter set now uses by default an available location if 'East US' is not supported
- Proximity placement group feature.
- The following new cmdlets are added: New-AzProximityPlacementGroup Get-AzProximityPlacementGroup Remove-AzProximityPlacementGroup
- The new parameter, ProximityPlacementGroupId, is added to the following cmdlets: New-AzAvailabilitySet New-AzVMConfig New-AzVmssConfig
- StorageAccountType parameter is added to New-AzGalleryImageVersion.
- TargetRegion of New-AzGalleryImageVersion can contain StorageAccountType.
- SkipShutdown switch parameter is added to Stop-AzVM and Stop-AzVmss
- Breaking changes
- Set-AzVMBootDiagnostics is changed to Set-AzVMBootDiagnostic.
- Export-AzLogAnalyticThrottledRequests is changed to Export-AzLogAnalyticThrottledRequests.
- Fix issue with AEM installation if resource ids of disks had lowercase resourcegroups in resource id
- Updated cmdlets with plural nouns to singular, and deprecated plural names.
- Fix documentation for wildcards
- Add HyperVGeneration parameter to New-AzDiskConfig and New-AzSnapshotConfig
- Allow VM creation with galley image from other tenants.
- Fix issue with path resolution in Get-AzVmBootDiagnosticsData
- Update Compute client library to 25.0.0.
- Add new parameter sets to Set-AzVMCustomScriptExtension
- Accepts PSVirtualMachine object from pipeline
- Accepts Resource Id and a VirtualMachineCustomScriptExtensionContext also from pipeline
- Add wildcard support to Get cmdlets
- Fix issue with ID parameter sets
- Update Get-AzVMExtension to list all installed extension if Name parameter is not provided
- Add Tag and ResourceId parameters to Update-AzImage cmdlet
- Get-AzVmssVM without instance ID and with InstanceView can list VMSS VMs with instance view.
- AEM extension: Add support for UltraSSD and P60,P70 and P80 disks
- Update help description for Set-AzVMBootDiagnostics
- Update help description and example for Update-AzImage
- Add Invoke-AzVMReimage cmdlet
- Add TempDisk parameter to Set-AzVmss
- Fix the warning message of New-AzVM
- Add ProvisionAfterExtension parameter to Add-AzVmssExtension
- Name is now optional in ID parameter set for Restart/Start/Stop/Remove/Set-AzVM and Save-AzVMImage
- Updated the description of ID in help files
- Fix backward compatibility issue with Az.Accounts module
- General availability of
Az.Computemodule - Breaking changes
- IdentityIds are removed from Identity property in PSVirtualMachine and PSVirtualMachineScaleSet object.
- The type of InstanceView property of PSVirtualMachineScaleSetVM object is changed from VirtualMachineInstanceView to VirtualMachineScaleSetVMInstanceView.
- AutoOSUpgradePolicy and AutomaticOSUpgrade properties are removed from UpgradePolicy property.
- The type of Sku property in PSSnapshotUpdate object is changed from DiskSku to SnapshotSku.
- VmScaleSetVMParameterSet is removed from Add-AzVMDataDisk.