.
This commit is contained in:
@ -1,10 +1,7 @@
|
||||
@echo off
|
||||
set check_computername=%COMPUTERNAME%
|
||||
echo "Found computer %check_computername%"
|
||||
|
||||
set PACKAGES="C:\Packages"
|
||||
set WPUBLIC="C:\wPublic"
|
||||
call C:\Scripts\wBase\baseENV.bat
|
||||
call C:\Scripts\wLocal\localENV.bat
|
||||
|
||||
echo "Dump software list"
|
||||
set PSFILE="%WPUBLIC%\bin\ListSoftware.ps1"
|
||||
Powershell.exe -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt"
|
||||
set PSFILE="%WBASE%\bin\SoftwareList.ps1"
|
||||
%POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt"
|
||||
|
||||
Reference in New Issue
Block a user