Is there a command to retrieve the installed application/packages via command line in windows 2003. i.e to get the details of Add/remove programs via the command line same as 'rpm -qa ' in linux.
Thanks,
Is there a command to retrieve the installed application/packages via command line in windows 2003. i.e to get the details of Add/remove programs via the command line same as 'rpm -qa ' in linux.
Thanks,
There's nothing built in, really. However, the PStools suite from Sysinternals is an invaluable set of software, available free from Microsoft, and they have a commmand for this.
Try the PStools package and use the Psinfo command with the -s switch.
If we're using the same requirements as Command-Line Kung-Fu, then the closest we can get is the following:
Notably, this doesn't exclude Windows updates, which the built-in Add/Remove Programs application does. You could do this exclusively from the command line, but it'd be considerably more complicated.