From 59ec83c10a635b18ac581f279f04f1a0930ee4ff Mon Sep 17 00:00:00 2001 From: MrMeeb Date: Tue, 6 Aug 2024 18:46:29 +0100 Subject: [PATCH] Add some output to PS script --- payload/run.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/payload/run.ps1 b/payload/run.ps1 index 3cb71ba..0b93437 100644 --- a/payload/run.ps1 +++ b/payload/run.ps1 @@ -7,13 +7,14 @@ $StagingDir = $PSScriptRoot $ProgressPreference = 'SilentlyContinue' # Download compressed boot dir to Staging Dir +Write-Host "Downloading boot.zip" Invoke-WebRequest -Uri $RemoteURL/boot.zip -OutFile $StagingDir\boot.zip # Expand boot.zip to C:\Boot Expand-Archive -Path $StagingDir\boot.zip -DestinationPath C:\ -Force # 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