Closed eichmeyer closed 4 years ago
Get-RemoteFile -fileUri $winPEPath -destination $usb.downloadPath -expand unpacks WinPE.zipfile to 'temp\Win10\W' and not to 'temp\Win10\WinPE'. Therefore the files are not found.
After I renamed the folder under Temp to WinPE, the script works:
If possible could you provide the full command used to start this off?
Just need to know the parameter values so I can try and replicate.
Cheers.
On Sun, 26 Jul 2020, 8:25 pm Heinz-Willi Eichmeyer, < notifications@github.com> wrote:
After I renamed the folder under Temp to WinPE, the script works:
[image: image] https://user-images.githubusercontent.com/36456013/88476714-f2fde600-cf3a-11ea-9381-714721638ca1.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/17#issuecomment-663970381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LKLEC5U2U75R4J4ZH3R5QAB3ANCNFSM4PH5BTGQ .
Publish-ImageToUSB -winPEPath "https://githublfs.blob.core.windows.net/storage/WinPE.zip" -windowsIsoPath "D:\Hyper-V\ISO\de_windows_10_consumer_editions_version_2004_updated_july_2020_x64_dvd_a3933985.iso" -getAutopilotCfg
PowerShell 7 or 5.1???
On Sun, 26 Jul 2020, 9:29 pm Heinz-Willi Eichmeyer, < notifications@github.com> wrote:
Publish-ImageToUSB -winPEPath " https://githublfs.blob.core.windows.net/storage/WinPE.zip" -windowsIsoPath "D:\Hyper-V\ISO\de_windows_10_consumer_editions_version_2004_updated_july_2020_x64_dvd_a3933985.iso" -getAutopilotCfg
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tabs-not-spaces/Intune.USB.Creator/issues/17#issuecomment-663976356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIDA4LJJK2OEJKUFAJBXD23R5QHRRANCNFSM4PH5BTGQ .
PowerShell 5.1 under 7 the WindowsAutoPilot will not provide the AutopilotConfigurationFile.json
No data is copied in the 'Writing WinPE to USB' section. A folder is created on the 'Images' partition and the install.wim is copied.