From 0fae0a3b0bef7ecf0d424efd575142e0b61e69f4 Mon Sep 17 00:00:00 2001 From: lawrencegripper Date: Wed, 4 Dec 2024 11:55:32 +0000 Subject: [PATCH] Fix getting output --- images/windows/scripts/helpers/InstallHelpers.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/windows/scripts/helpers/InstallHelpers.ps1 b/images/windows/scripts/helpers/InstallHelpers.ps1 index 2d0c45bf4..a3fefb7de 100644 --- a/images/windows/scripts/helpers/InstallHelpers.ps1 +++ b/images/windows/scripts/helpers/InstallHelpers.ps1 @@ -132,7 +132,8 @@ function Install-Binary { Write-Host "Searching for logs maching $InstallerLogPath pattern" Get-ChildItem -Recurse -Path $InstallerLogPath | ForEach-Object { Write-Output "Found Installer Log: $InstallerLogPath" - Get-Content -Path $InstallerLogPath + Write-Output "File content:" + Get-Content -Path $_.FullName } } exit $exitCode