Tweak extraction of boot.zip
This commit is contained in:
parent
d5e4f29963
commit
4e6bad8ebe
@ -10,7 +10,7 @@ $ProgressPreference = 'SilentlyContinue'
|
|||||||
Invoke-WebRequest -Uri $RemoteURL/boot.zip -OutFile $StagingDir\boot.zip
|
Invoke-WebRequest -Uri $RemoteURL/boot.zip -OutFile $StagingDir\boot.zip
|
||||||
|
|
||||||
# Expand boot.zip to C:\Boot
|
# Expand boot.zip to C:\Boot
|
||||||
Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\boot -Force
|
Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\ -Force
|
||||||
|
|
||||||
# Download WinPE wim to C:\Sources\boot.wim
|
# Download WinPE wim to C:\Sources\boot.wim
|
||||||
New-Item -ItemType "Directory" -Path C:\Sources -Force
|
New-Item -ItemType "Directory" -Path C:\Sources -Force
|
||||||
|
Loading…
x
Reference in New Issue
Block a user