.
This commit is contained in:
@ -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"
|
||||
@ -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"
|
||||
Reference in New Issue
Block a user