Add some output to PS script
This commit is contained in:
parent
277aaa8a6c
commit
59ec83c10a
@ -7,13 +7,14 @@ $StagingDir = $PSScriptRoot
|
|||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
|
|
||||||
# Download compressed boot dir to Staging Dir
|
# Download compressed boot dir to Staging Dir
|
||||||
|
Write-Host "Downloading boot.zip"
|
||||||
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:\ -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
|
Write-Host "Downloading boot.wim"
|
||||||
Invoke-WebRequest -Uri $RemoteURL/boot.wim -OutFile C:\Sources\boot.wim
|
Invoke-WebRequest -Uri $RemoteURL/boot.wim -OutFile C:\Sources\boot.wim
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user