This commit is contained in:
USER
2025-08-29 16:42:02 +01:00
parent ead94820ac
commit 3fcda6d318
5 changed files with 39 additions and 97 deletions

View File

@ -1,7 +1,11 @@
@echo off
call C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wLocal\localENV.bat
@REM xxxxxxx
echo "START: %~n0"
echo "Dump software list"
set PSFILE="%WBASE%\bin\SoftwareList.ps1"
%POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt"
echo "FINISHED: %~n0"

View File

@ -1,14 +1,11 @@
@echo off
set check_computername=%COMPUTERNAME%
echo "Found computer %check_computername%"
set PACKAGES="C:\Packages"
set WBASE="C:\Scripts\wBase"
set WLOCAL="C:\Scripts\wLocal"
set POWERSHELL=%SYSTEMROOT%\system32\WindowsPowerShell\v1.0\powershell.exe
call C:\Scripts\wBase\baseENV.bat
call C:\Scripts\wLocal\localENV.bat
@REM xxxxxxx
echo "START: %~n0"
echo "Speed up Powershell processing"
set PSFILE="%WBASE%\bin\SpeedUp.ps1"
%POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE%
echo "FINISHED: %~n0"