($vmSizein$vmSizes){foreach($capabilityin$vmSize.Capabilities) {if(($capability.Name-eq"EphemeralOSDiskSupported"-and$capability.Value-eq"True")-or($capability.Name-eq"PremiumIO"-and$capability.Value-eq"True")-or($capability.Name-eq"HyperVGenerations"-and$capability.Value-match"V2")) {$...
($capability in $vmSize.Capabilities) { if(($capability.Name -eq "EphemeralOSDiskSupported" -and $capability.Value -eq "True") -or ($capability.Name -eq "PremiumIO" -and $capability.Value -eq "True") -or ($capability.Name -eq "HyperVGenerations" -and $capability.Value -match "V2")...
($capability in $vmSize.Capabilities) { if(($capability.Name -eq "EphemeralOSDiskSupported" -and $capability.Value -eq "True") -or ($capability.Name -eq "PremiumIO" -and $capability.Value -eq "True") -or ($capability.Name -eq "HyperVGenerations" -and $capability.Value -match "V2")...
($capability in $vmSize.Capabilities) { if(($capability.Name -eq "EphemeralOSDiskSupported" -and $capability.Value -eq "True") -or ($capability.Name -eq "PremiumIO" -and $capability.Value -eq "True") -or ($capability.Name -eq "HyperVGenerations" -and $capability.Value -match "V2")...
{if(($capability.Name-eq"EphemeralOSDiskSupported"-and$capability.Value-eq"True")-or($capability.Name-eq"PremiumIO"-and$capability.Value-eq"True")-or($capability.Name-eq"HyperVGenerations"-and$capability.Value-match"V2")) {$vmSize.Name ...
{if(($capability.Name-eq"EphemeralOSDiskSupported"-and$capability.Value-eq"True")-or($capability.Name-eq"PremiumIO"-and$capability.Value-eq"True")-or($capability.Name-eq"HyperVGenerations"-and$capability.Value-match"V2")) {$vmSize.Name ...
($capability in $vmSize.Capabilities) { if(($capability.Name -eq "EphemeralOSDiskSupported" -and $capability.Value -eq "True") -or ($capability.Name -eq "PremiumIO" -and $capability.Value -eq "True") -or ($capability.Name -eq "HyperVGenerations" -and $capability.Value -match "V2")...