We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcb54a8 + 86df62a commit 342c678Copy full SHA for 342c678
1 file changed
WinImageBuilder.psm1
@@ -1639,7 +1639,7 @@ function New-WindowsCloudImage {
1639
try {
1640
$windowsImageConfig = Get-WindowsImageConfig -ConfigFilePath $ConfigFilePath
1641
$mountedWindowsIso = $null
1642
- if ($windowsImageConfig.wim_file_path.EndsWith('.iso')) {
+ if ($windowsImageConfig.wim_file_path.toLower().EndsWith('.iso')) {
1643
$windowsImageConfig.wim_file_path = Get-Command $windowsImageConfig.wim_file_path `
1644
-ErrorAction Ignore | Select-Object -ExpandProperty Source
1645
if($windowsImageConfig.wim_file_path -eq $null){
0 commit comments