Enumerating the If... Then: Scripts

Monday, October 01, 2007

Command Line: Producing List of Installed Programs

Tested.
In use at work.


To query the registry for all installed programs, use the following syntax:
reg query \\[hostname]\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall /s | find " DisplayName"

0 Comments:

Post a Comment

<< Home