Skip to content

Instantly share code, notes, and snippets.

@hexandcube
Created June 17, 2023 19:40
Show Gist options
  • Save hexandcube/56080643cf59a6ca344e22ca7bb2bc8c to your computer and use it in GitHub Desktop.
Save hexandcube/56080643cf59a6ca344e22ca7bb2bc8c to your computer and use it in GitHub Desktop.
@ECHO OFF
TITLE GetSoftwareList by Hexandcube
ECHO.
ECHO GetSoftwareList
ECHO This script will generate a file that contains a list of all installed software on the computer.
ECHO.
CHOICE /C YN /M "[?] Do you want to continue?"
IF ERRORLEVEL 2 GOTO :EOF
IF ERRORLEVEL 1 GOTO :START
:START
ECHO [+] Generating list...
WMIC product get name, version >> software_list.txt
ECHO [+] Done! The list has been saved to software_list.txt
:EOF
EXIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment