AppChecker-A sun java and adobe version checker
For: Windows Hosts
Leveraging PSinfo, i've created a quick batch to help identify versions of sun java and adobe apps on a target system
Requires:
-Psinfo in the same directory as the batch Download Link-->http://technet.microsoft.com/en-us/sysinternals/bb897550
-credentials on the target system..tested with admin level
Usage:
check installed adobe apps and versions appcheck 1 [host] [username] [password] check installed adobe apps and versions for a list of hosts appcheck 2 [host list-one per line] [username] [password] check installed java apps and versions appcheck 3 [host] [username] [password] check installed java apps and versions for a list of hosts appcheck 4 [host list-one per line] [username] [password]
Copy the below into a notepad document and save as appchecker.bat
___________________________________________________
@echo off setlocal enabledelayedexpansion rem %1= checktype %2= host/hostlist %3=username %4=password if "%1"=="" goto usage if %1==1 goto adobe if %1==2 goto adobelist if %1==3 goto javare if %1==4 goto javarelist goto usage :adobe psinfo \\%2 -u %3 -p %4 -s | find /i "Adobe" goto endbat :adobelist Echo Performing adobe version checking on the following systems: FOR /F %%i IN (%2) DO echo %%i, & psinfo \\%%i -u %3 -p %4 -s | find /i "Adobe" goto endbat :javare psinfo \\%2 -u %3 -p %4 -s | find /i "Java" goto endbat :javarelist Echo Performing Java version checking on the following systems: FOR /F %%i IN (%2) DO echo %%i, & psinfo \\%%i -u %3 -p %4 -s | find /i "Java" goto endbat :usage echo appcheck [checktype] [host or host list(one per line)] [username] [password] goto endbat :endbat













