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