From 36fcc9bda0edde8fe5835068f535a47f6d5a8061 Mon Sep 17 00:00:00 2001 From: USER Date: Fri, 29 Aug 2025 20:19:30 +0100 Subject: [PATCH] . --- bin/SoftwareList.bat | 4 +++- bin/SpeedUpPS.bat | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/SoftwareList.bat b/bin/SoftwareList.bat index 1770030..5aa99d9 100755 --- a/bin/SoftwareList.bat +++ b/bin/SoftwareList.bat @@ -4,8 +4,10 @@ call C:\Scripts\wLocal\localENV.bat @REM xxxxxxx echo "START: %~n0" -echo "Dump software list" +@REM set powershell variables set PSFILE="%WBASE%\bin\SoftwareList.ps1" + +echo "Dump software list" %POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt" echo "FINISHED: %~n0" \ No newline at end of file diff --git a/bin/SpeedUpPS.bat b/bin/SpeedUpPS.bat index fc8927a..21d7d9b 100644 --- a/bin/SpeedUpPS.bat +++ b/bin/SpeedUpPS.bat @@ -4,8 +4,11 @@ call C:\Scripts\wLocal\localENV.bat @REM xxxxxxx echo "START: %~n0" -echo "Speed up Powershell processing" +@REM set powershell variables + set PSFILE="%WBASE%\bin\SpeedUp.ps1" + +echo "Speed up Powershell processing" %POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE% echo "FINISHED: %~n0" \ No newline at end of file