This commit is contained in:
USER
2025-08-29 15:48:59 +01:00
parent e739ef57af
commit d01c7ec2a8
3 changed files with 39 additions and 0 deletions

10
bin/SoftwareList.bat Executable file
View File

@ -0,0 +1,10 @@
@echo off
set check_computername=%COMPUTERNAME%
echo "Found computer %check_computername%"
set PACKAGES="C:\Packages"
set WPUBLIC="C:\wPublic"
echo "Dump software list"
set PSFILE="%WPUBLIC%\bin\ListSoftware.ps1"
Powershell.exe -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt"