Skip to content

Commit 8525f3f

Browse files
Change Image Validate Set
1 parent 4ac7f1f commit 8525f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Azure/Compute/New-AzVM.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ param(
8585
[string]$ResourceGroupName,
8686
[int]$DataDiskSizeInGb,
8787
[switch]$EnableUltraSSD,
88-
[ValidateSet('Win2016Datacenter', 'Win2012R2Datacenter', 'Win2012Datacenter', 'Win2008R2SP1', 'UbuntuLTS', 'CentOS', 'CoreOS', 'Debian', 'openSUSE-Leap', 'RHEL', 'SLES')]
89-
[string]$Image = "Win2016Datacenter",
88+
[ValidateSet('Win2022AzureEditionCore','Win2019Datacenter','Win2016Datacenter','Win2012R2Datacenter','Win2012Datacenter','UbuntuLTS','CentOS','CoreOS','Debian','openSUSE-Leap','RHEL','SLES')]
89+
[string]$Image = "Win2019Datacenter",
9090
[ValidateSet('Static', 'Dynamic')]
9191
[string]$AllocationMethod,
9292
[string]$Location,

0 commit comments

Comments
 (0)