From ef70de43321eb08603914667b87152d5aa968cfb Mon Sep 17 00:00:00 2001 From: James Stringer <38541878+jamesstringerparsec@users.noreply.github.com> Date: Sat, 15 Jan 2022 20:47:11 +0100 Subject: [PATCH] Bugfix to hopefully address non-english iso bug --- CopyFilesToVM.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CopyFilesToVM.ps1 b/CopyFilesToVM.ps1 index 4db781c..a146a56 100644 --- a/CopyFilesToVM.ps1 +++ b/CopyFilesToVM.ps1 @@ -1987,7 +1987,7 @@ You can use the fields below to configure the VHD or VHDX that you want to creat #################################################################################################### Write-W2VInfo "Looking for the requested Windows image in the WIM file" - $WindowsImage = Get-WindowsImage -ImagePath $SourcePath + $WindowsImage = Get-WindowsImage -ImagePath "$($driveLetter):\sources\install.wim" if (-not $WindowsImage -or ($WindowsImage -is [System.Array])) {