- Added useful examples to the
New-AzVMConfig
help doc. - Added new
ResourceId
parameter to theGet-AzVmss
cmdlet. - Added
-SecurityType
,-EnableSecureBoot
and-EnableVtpm
parameters toNew-AzVm
,New-AzVmConfig
,New-AzVmss
,New-AzVmssConfig
,Update-AzVm
andUpdate-AzVmss
cmdlets. - Configured parameter flags
-EnableSecureBoot
and-EnableVtpm
to default to True for TrustedLaunch and ConfidentialVM values for the-SecurityType
parameter inNew-AzVm
,New-AzVmConfig
,New-AzVmss
,New-AzVmssConfig
,Update-AzVm
andUpdate-AzVmss
cmdlets. - Added a message to the user when they provide an outdated image alias to
New-AzVM
via the-Image
parameter or toNew-AzVmss
via the-ImageName
parameter. 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
GuestAttestation
extension inNew-AzVM
andNew-AzVmss
to set the propertyEnableAutomaticUpgrade
to true. - Changed to
Set-AzVMOperatingSystem
to correct unnecessary mandatory parameters.
- Added new switch parameter
OSImageScheduledEventEnabled
and string parameterOSImageScheduledEventNotBeforeTimeoutInMinutes
to the cmdletsNew-AzVmssConfig
andUpdate-AzVmss
. - Fixed an issue that
Add-AzVhd
throwsFileNotFoundException
on Windows PowerShell. [#21321] - Removed the
NextLink
parameter and parameter set from theGet-AzVM
cmdlet.
- Added a breaking change warning to the
Get-AzVM
cmdlet to show that theNextLink
parameter 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-AzVM
andNew-AzVmss
regarding using the new versioned image aliases to indicate that certain aliases will be removed next breaking change release. - Updated the
Get-AzVMRunCommand
to include theProvisioningState
value. Fix [#21473] - Updated Azure.Core to 1.31.0.
- Addressed bug in
Remove-AzVmss
to throw error when-InstanceId
is null. [#21162] - Added
-CustomData
,-AdminPassword
, and-ExactVersion
parameters toInvoke-AzVMReimage
. - Removed the image alias
CoreOS
as the publisher CoreOS no longer has any images for Azure. Updated the names of theopenSUSE-Leap
andSLES
aliases toOpenSuseLeap154
andSuseSles15SP4
respectively. Updated these aliases to point to an image that actually exists. - Added a breaking change warning to
New-AzVM
andNew-AzVmss
for 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
Kinvolk
publisher. - Added 'ImageDeprecationStatus' to the output of Get-AzVmImage.
- Added
-NetworkAccessPolicy
parameter toNew-AzSnapshotUpdateConfig
. - Added
-SharedGalleryImageId
parameter toNew-AzVM
,New-AzVmConfig
,New-AzVmss
,New-AzVmssConfig
,Update-AzVmss
, andSet-AzVmssStorageProfile
. - Updated
Set-AzVMDiagnosticsExtension
to correct capitalization by passing "StorageAccount" as configuration property instead of "storageAccount". - Added condition in Automapper configurations to check for null Tag values for
PSDiskUpdate
andPSSnapshotUpdate
to fix bug in Update-AzDisk and Update-AzSnapshot.
- Added breaking change message for
New-AzVmss
. - Added
-PerformancePlus
parameter toNew-AzDiskConfig
- Added 'MaxSurge' to Set-AzVmssRollingUpgradePolicyCommand
- Added support for 'latest' in 'Get-AzvmImage' '-Version' parameter
- Added
CompletionPercent
property to PSDisk object.
- Added
-SkipIdentity
,-PathUserIdentity
,-IsTest
parameter toSet-AzVMAEMExtension
- Added
ConsistencyMode
parameter toNew-AzRestorePoint
. - Updated the storage account type value in several locations from the outdated
StandardLRS
to 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
Source
of typeMicrosoft.Azure.Management.Compute.Models.GalleryDataDiskImage
,Microsoft.Azure.Management.Compute.Models.GalleryOSDiskImage
, andMicrosoft.Azure.Management.Compute.Models.GalleryImageVersionStorageProfile
has changed fromMicrosoft.Azure.Management.Compute.Models.GalleryArtifactVersionSource
toMicrosoft.Azure.Management.Compute.Models.GalleryDiskImageSource
.
- The type of the property
- Updated the broken
UbuntuLTS
image alias to use its original sku version of16.04-LTS
instead 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
-TargetExtendedLocation
parameter toNew-AzGalleryImageVersion
andUpdate-AzGalleryImageVersion
- Added
-AllowDeletionOfReplicatedLocation
toUpdate-AzGalleryImageVersion
- Removed the image
Win2008R2SP1
from 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
ImageReferenceId
string parameter to theNew-AzVmssConfig
cmdlet. This allows gallery image references to be added for the Confidential VM feature. - Added
SecurityEncryptionType
andSecureVMDiskEncryptionSet
string parameters to theSet-AzVmssStorageProfile
cmdlet for the Confidential VM feature.
- Fixed issue found for
Set-AzVmssVMRunCommand
[#19985] - Fixed
Get-AzVm
cmdlet when parameter "-Status" is provided, return propertyOsName
,OsVersion
andHyperVGeneration
- Fixed
New-AzVM
cmdlet when creating VM with bootdiagnostic storage causes exceptionKind
cannot 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-AzVMRunCommand
andSet-AzVmssVMRunCommand
to allow users to pass in the path of the file that has the run command script - Added
-AsJob
optional parameter toRemove-AzVMExtension
cmdlet. - Added
-EdgeZone
optional parameter forGet-AzComputeResourceSku
andNew-AzSnapshotUpdateConfig
cmdlets. - Added Disk Delete Optional parameters
OsDisk Deletion Option
andDelete Option
to theSet-AzVmssStorageProfile
(OS Disk) andAdd-AzVmssDataDisk
(Data Disk) - Improved printed output for
Get-AzComputeResourceSku
- Updated
Get-AzHost
cmdlet logic to return Host for-ResourceId
parameterset. - Added
-OSDiskSizeGB
optional parameter forSet-AzVmssStorageProfile
. - Improved cmdlet description for
Set-AzVM
and added examples. - Updated property mapping for parameter
Encryption
ofNew-AzGalleryImageVersion
- Updated list format to display all VmssVmRunCommand properties for
Get-AzVmssVmRunCommand
- Updated
Get-AzGallery
,New-AzGallery
,Update-AzGallery
,Get-AzGalleryImageDefinition
,Get-AzGalleryImageVersion
,New-AzVm
andNew-AzVmss
to support community galleries
- Added the
TimeCreated
property to the Virtual Machine and Virtual Machine Scale Set models. - Added Confidential VM functionality to multiple cmdlets.
- Added new parameter
SecureVMDiskEncryptionSet
to cmdletSet-AzDiskSecurityProfile
. - Added new parameters
SecureVMDiskEncryptionSet
andSecurityEncryptionType
to 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-AzVmssConfig
andUpdate-AzVmssConfig
- Added the 'RegularPriorityPercentage' integer property to the following cmdlets:
New-AzVmssConfig
andUpdate-AzVmssConfig
- Added Breaking Changes for Add-AzVMAdditionalUnattendContent and Get-AzGallery cmdlets
- Added
-DiskControllerType
property to the following cmdlets:New-AzVm
,New-AzVmss
,New-AzVmConfig
,Set-AzVmssStorageProfile
- Added Trusted Launch Generic Breaking Change warning for
New-AzVM
,New-AzDisk
andNew-AzVMSS
cmdlets. Get-AzVMRunCommand
now shows all the properties of VMRunCommand in a list format.- Added new Parameter
-PublicIpSku
to theNewAzVM
cmdlet with acceptable values : "Basic" and "Standard". - Added Generic Breaking Change PublicIpSku Warning and Overridden
-Zone
logic when-PublicIpSku
is explicitly provided. - Added Disk Delete Optional parameters
OsDisk Deletion Option
andDelete Option
to theSet-AzVmssStorageProfile
(OS Disk) andAdd-AzVmssDataDisk
(Data Disk) - Improved printed output for
Get-AzComputeResourceSku
- Updated
Update-AzVm
to give constructive error messages when empty variables are passed in parameters. [#15081] - Added
Zone
andIntentVMSizeList
optional parameters to the cmdletNew-AzProximityPlacementGroup
. - Added parameters to Gallery cmdlets for Community Galleries
- For
New-AzGalleryImageVersion
,CVMEncryptionType
andCVMDiskEncryptionSetID
added as keys for parameter-Target
.
- Added parameters
PackageFileName
,ConfigFileName
forNew-AzGalleryApplicationVersion
- Added image alias 'Win2022AzureEditionCore'
- Added the
-DisableIntegrityMonitoring
switch parameter to theNew-AzVM
cmdlet. Changed the default behavior forNew-AzVM
andNew-AzVmss
when these conditions are met:-DisableIntegrityMonitoring
is not true.SecurityType
on the SecurityProfile isTrustedLaunch
.VTpmEnabled
on the SecurityProfile is true.SecureBootEnabled
on the SecurityProfile is true. NowNew-AzVM
will install theGuest Attestation
extension to the new VM when these conditions are met. NowNew-AzVmss
will install theGuest Attestation
extension to the new Vmss when these conditions are met and installed to all VM instances in the Vmss.
- Added
-UserAssignedIdentity
and-FederatedClientId
to the following cmdlets:New-AzDiskEncryptionSetConfig
Update-AzDiskEncryptionSet
- Added
-TreatFailureAsDeploymentFailure
to cmdletsAdd-AzVmGalleryApplication
andAdd-AzVmssGalleryApplication
- Removed Exceptions for when SinglePlacementGroup is set to true in 'OrchestrationMode'
- For
Add-AzVhd
upon 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
-DataAccessAuthMode
parameter to Add-AzVhd DirectUploadToManagedDisk parameter set. - Added
-EnabldUltraSSD
parameter to New-AzHostGroup.
- Edited
New-AzVm
cmdlet internal logic to use thePlatformFaultDomain
value in thePSVirtualMachine
object passed to it in the new virtual machine. - Added a new cmdlet named
Restart-AzHost
to restart dedicated hosts. - Added
-DataAccessAuthMode
parameter to the following cmdlets:New-AzDiskConfig
New-AzDiskUpdateConfig
New-AzSnapshotConfig
New-AzSnapshotUpdateConfig
- Added
-Architecture
parameter to the following cmdlets:New-AzDiskConfig
New-AzDiskUpdateConfig
New-AzSnapshotConfig
New-AzSnapshotUpdateConfig
New-AzGalleryImageDefinition
- Added
-InstanceView
parameter toGet-AzRestorePoint
- Added parameter
-ScriptString
toInvoke-AzvmRunCommand
andInvoke-AzvmssRunCommand
- Added parameter
-ScaleInPolicyForceDeletion
toUpdate-Azvmss
- 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.
- Added
- Updated
New-AzVM
to 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
AutomaticRepairAction
string parameter to theNew-AzVmssConfig
andUpdate-AzVmss
cmdlets. - Updated
Get-AzVm
to includeGetVirtualMachineById
parameter set. - Edited the documentation for the cmdlet
Set-AzVMADDomainExtension
to ensure the example is accurate. - Improved description and examples for disk creation.
- Added new parameters to
New-AzRestorePoint
andNew-AzRestorePointCollection
for copying Restore Points and Restore Point Collections. - Added
Zone
andPlacementGroupId
Parameters toRepair-AzVmssServiceFabricUpdateDomain
. - Edited
New-AzVmss
logic to better check for null properties when the parameterOrchestrationMode
is used.
- Updated New-AzVM feature for
vCPUsAvailable
andvCPUsPerCore
parameters. Cmdlets will not try to use the newVMCustomizationPreview
feature if the user does not have access to that feature. [#17370]
- Upgraded Compute .NET SDK package reference to version 52.0.0
- Updated
New-AzSshKey
cmdlet to write file paths to generated keys to the Warning stream instead of the console. - Added
vCPUsAvailable
andvCPUsPerCore
integer parameters to theNew-AzVm
,New-AzVmConfig
, andUpdate-AzVm
cmdlets.
- Remove ProvisioningDetails property from PSRestorePoint object.
- Updated
Set-AzVmExtension
cmdlet to properly display-Name
and-Location
parameters as mandatory. - Edited
New-AzVmssConfig
second example so it runs successfully by changing the Tag input to the correct format. - Added
Hibernate
parameter toStop-AzVm
cmdlet. - Added
HibernationEnabled
parameter toNew-AzVm
,New-AzVmConfig
, andUpdate-AzVm
cmdlets. - Added
EnableHotpatching
parameter to theSet-AzVmssOSProfile
cmdlet. - Added 'ForceDeletion' parameter to Remove-AzVM and Remove-AzVMSS.
- Updated
UserData
parameter in VM and VMSS cmdlets to pipe by the Property Name to ensure piping scenarios occur correctly. - Changed
New-AzVM
cmdlet when using the SimpleParameterSet to not create aPublicIPAddress
when aPublicIPAddress
name is not provided. - Added
PlatformFaultDomain
parameter to cmdlets:New-AzVM
andNew-AzVMConfig
- Added
-Feature
parameter forNew-AzGalleryImageDefinition
- Added
DiffDiskPlacement
string parameter toSet-AzVmOSDisk
andSet-AzVmssStorageProfile
cmdlets.
- Contains updates to the following powershell cmdlets
SetAzVmssDiskEncryptionExtension
: Added extension parameters for the cmdlet to work with test extensions and parameterEncryptFormatAll
for 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-AzVhd
to convert VHD using Hyper-V - Added
UserData
parameter to VM and VMSS cmdlets - Added string parameter
PublicNetworkAccess
to DiskConfig and SnapshotConfig cmdlets - Added boolean parameter
AcceleratedNetwork
to DiskConfig and SnapshotConfig cmdlets - Added
CompletionPercent
property 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
OrchestrationMode
is 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-AzVM
that caused incorrect power status output.
- Added new parameters
-LinuxConfigurationPatchMode
,-WindowsConfigurationPatchMode
, and-LinuxConfigurationProvisionVMAgent
toSet-AzVmssOSProfile
- Added new parameters
-SshKeyName
and-GenerateSshKey
toNew-AzVM
to create a VM with SSH - Fixed a bug in
Add-AzVHD
on 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-AzCapacityReservationGroup
andUpdate-AzCapacityReservation
- 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
- Added optional parameter
-OrchestrationMode
toNew-AzVmss
andNew-AzVmssConfig
- Updated the following cmdlets to work when the resource uses a remote image source using AKS or Shared Image Gallery.
Update-AzVm
Update-AzVmss
Update-AzGalleryImageVersion
- Added parameters
-EnableCrossZoneUpgrade
and-PrioritizeUnhealthyInstance
to theSet-AzVmssRollingUpgradePolicy
- Added
AssessmentMode
parameter to theSet-AzVMOperatingSystem
cmdlet. - 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-AzVmInstallPatch
to support patch installation in VMs using PowerShell. - Updated Compute module to use the latest .Net SDK version 46.0.0.
- Added optional parameter
-EdgeZone
to the following cmdlets:- `Get-AzVMImage
Get-AzVMImageOffer
Get-AzVMImageSku
New-AzDiskConfig
New-AzImageConfig
New-AzSnapshotConfig
New-AzVM
New-AzVmssConfig
New-AzVMSS
- Added cmdlets to create, update, delete, and get new Azure resource: Ssh Public Key
New-AzSshKey
Remove-AzSshKey
Get-AzSshKey
Update-AzSshKey
- Updated the
Set-AzVMDiskEncryptionExtension
cmdlet 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
-Migrate
to trigger migration workflow. - Added a switch parameter
-MigrationRecovery
to trigger recovery workflow for VMs experiencing failures after migration from two pass ADE.
- Added a switch parameter
- Added
Win2019Datacenter
in the argument completer list forImage
parameter in theNew-AzVM
cmdlet.
- Fixed a bug when 1 data disk attached to VMSS for Remove-AzVmssDataDisk [#13368]
- Added new cmdlets to support TrustedLaunch related cmdlets:
Set-AzVmSecurityProfile
Set-AzVmUefi
Set-AzVmssSecurityProfile
Set-AzVmssUefi
- Edited default value for Size parameter in New-AzVM cmdlet from Standard_DS1_v2 to Standard_D2s_v3.
- Added parameter
-EnableHotpatching
to theSet-AzVMOperatingSystem
cmdlet for Windows machines. - Added parameter
-PatchMode
to 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
RebootStatus
from theMicrosoft.Azure.Management.Compute.Models.LastPatchInstallationSummary
object. - Removed property
StartedBy
from theMicrosoft.Azure.Management.Compute.Models.LastPatchInstallationSummary
object. - Renamed property
Kbid
toKbId
in theMicrosoft.Azure.Management.Compute.Models.VirtualMachineSoftwarePatchProperties
object. - Renamed property
patches
toavailablePatches
in theMicrosoft.Azure.Management.Compute.Models.VirtualMachineAssessPatchesResult
object. - Renamed object
Microsoft.Azure.Management.Compute.Models.SoftwareUpdateRebootBehavior
toMicrosoft.Azure.Management.Compute.Models.VMGuestPatchRebootBehavior
. - Renamed object
Microsoft.Azure.Management.Compute.Models.InGuestPatchMode
toMicrosoft.Azure.Management.Compute.Models.WindowsVMGuestPatchMode
.
- Removed property
- [Breaking Change] Removed all
ContainerService
cmdlets. The Container Service API was deprecated in January 2020.Add-AzContainerServiceAgentPoolProfile
Get-AzContainerService
New-AzContainerService
New-AzContainerServiceConfig
Remove-AzContainerService
Remove-AzContainerServiceAgentPoolProfile
Update-AzContainerService
- Added parameter
-EnableAutomaticUpgrade
toSet-AzVmExtension
andAdd-AzVmssExtension
. - Removed FilterExpression parameter from
Get-AzVMImage
cmdlet documentation. - Added deprecation message to the ContainerService cmdlets:
Add-AzureRmContainerServiceAgentPoolProfileCommand
Get-AzContainerService
New-AzContainerService
New-AzContainerServiceConfig
Remove-AzContainerService
Remove-AzContainerServiceAgentPoolProfile
Update-AzContainerService
- Added parameter
-BurstingEnabled
toNew-AzDiskConfig
andNew-AzDiskUpdateConfig
- Added
-GroupByApplicationId
and-GroupByUserAgent
parameters to theExport-AzLogAnalyticThrottledRequest
andExport-AzLogAnalyticRequestRateByInterval
cmdlets. - Added
VMParameterSet
parameter set toGet-AzVMExtension
cmdlet. Added new parameter-VM
to this parameter set.
- New parameter
VM
in new parameter setVMParameterSet
added toGet-AzVMDscExtensionStatus
andGet-AzVMDscExtension
cmdlets. - Edited
New-AzSnapshot
cmdlet 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
-Name
prior to checking for throttling due to too many resources. - New cmdlet
Start-AzVmssRollingExtensionUpgrade
.
- Added
-VmssId
parameter toNew-AzVm
- Added
PlatformFaultDomainCount
parameter to theNew-AzVmss
cmdlet. - New cmdlet
Get-AzDiskEncryptionSetAssociatedResource
- Added
Tier
andLogicalSectorSize
optional parameters to the New-AzDiskConfig cmdlet. - Added
Tier
,MaxSharesCount
,DiskIOPSReadOnly
, andDiskMBpsReadOnly
optional parameters to theNew-AzDiskUpdateConfig
cmdlet. - Modified
Get-AzVmBootDiagnostics
cmdlet to use the new RetrieveBootDiagnosticsData API instead of directly accessing the BootDiagnostics properties on the virtual machine.
- Fixed issue in
Update-ASRRecoveryPlan
by populating FailoverTypes - Added the
-Top
and-OrderBy
optional parameters to theGet-AzVmImage
cmdlet.
- Added the
-EncryptionType
optional parameter toNew-AzVmDiskEncryptionSetConfig
- New cmdlets for new resource type: DiskAccess
Get-AzDiskAccess
,New-AzDiskAccess
,Get-AzDiskAccess
- Added optional parameters
-DiskAccessId
and-NetworkAccessPolicy
toNew-AzSnapshotConfig
- Added optional parameters
-DiskAccessId
and-NetworkAccessPolicy
toNew-AzDiskConfig
- Added
PatchStatus
property to VirtualMachine Instance View - Added
VMHealth
property to the virtual machine's instance view, which is the returned object whenGet-AzVm
is invoked with-Status
- Added
AssignedHost
field toGet-AzVM
andGet-AzVmss
instance views. The field shows the resource id of the virtual machine instance - Added optional parameter
-SupportAutomaticPlacement
toNew-AzHostGroup
- Added the
-HostGroupId
parameter toNew-AzVm
andNew-AzVmss
- Patched
-EncryptionAtHost
parameter inNew-AzVm
to remove default value of false [#12776]
- Added
-EncryptionAtHost
parameter toNew-AzVm
,New-AzVmss
,New-AzVMConfig
,New-AzVmssConfig
,Update-AzVM
, andUpdate-AzVmss
- Added
SecurityProfile
toGet-AzVM
andGet-AzVmss
return object - Added
-InstanceView
switch as optional parameter toGet-AzHostGroup
- Added new cmdlet
Invoke-AzVmPatchAssessment
- Added warning when using
New-AzVmss
without "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-AzVM
cmdlet - Updated Help documents for
New-AzVMConfig
,New-AzVmssConfig
,Update-AzVmss
,Set-AzVMOperatingSystem
andSet-AzVmssOsProfile
cmdlets. - Breaking changes
- FilterExpression parameter is removed from
Get-AzVMImage
cmdlet. - AssignIdentity parameter is removed from
New-AzVmssConfig
,New-AzVMConfig
andUpdate-AzVM
cmdlets. - AutomaticRepairMaxInstanceRepairsPercent is removed from
New-AzVmssConfig
andUpdate-AzVmss
cmdlets. - 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-AzVM
cmdlet has been updated to better describe it.
- Added
Set-AzVmssOrchestrationServiceState
cmdlet. Get-AzVmss
with -InstanceView shows OrchestrationService states.
- Added the following parameters to
New-AzDiskConfig
cmdlet:- DiskIOPSReadOnly, DiskMBpsReadOnly, MaxSharesCount, GalleryImageReference
- Allowed Encryption property to Target parameter of
New-AzGalleryImageVersion
cmdlet. - Fixed tempDisk issue for
Set-AzVmss
-Reimage andInvoke-AzVMReimage
cmdlets. [#11354] - Added support to below cmdlets for new SAP Extension
Set-AzVMAEMExtension
Get-AzVMAEMExtension
Remove-AzVMAEMExtension
Update-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-AzVMAccessExtension
to 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-AzVMRunCommand
documentation to use correct parameter name - Update
-VolumeType
description inSet-AzVMDiskEncryptionExtension
andSet-AzVmssDiskEncryptionExtension
reference 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
ProximityPlacementGroup
parameter. - Fix typo in
New-AzVM
reference documentation
- Added
NoWait
parameter 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.Compute
module - 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.