Use systeminfo to find out installed Windows Hotfix(s) or updates
Helping out a friend to troubleshoot his virtual Windows servers. One machine is for production use, running a Java application for his company internal users and another machine is for development server, which mirrors the production server but use for development work.
Putting this handy systeminfo
command down here for future reference. Pretty quick and useful way to list out the installed Windows updates on one server and can use the list to compare the installed Windows updates on another server.
An example screen shot of systeminfo program output on command box.
Since we are only interested to find out the installed Windows hotfixes and updates on command prompt. Simply run :
>systeminfo | find "KB"
systeminfo
program will dump out a list of System Information and pipe the output to find
program to filter out the strings that does not contain 'KB'
Run the same command on another server to get the list and then you can compare the lists to see if there is any discrepancies.
Hope this tutorial can be useful to you!
See also : Findstr command the Grep equivalent for Windows
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+6.8k SSL : How to check if current certificate is sha1 or sha2 from command line
+5.6k Golang : Break string into a slice of characters example
+15.9k Golang : Capture stdout of a child process and act according to the result
+6k Default cipher that OpenSSL used to encrypt a PEM file
+16.9k Golang : How to log each HTTP request to your web server?
+16.7k Golang : Read data from config file and assign to variables
+9.1k Golang : Translate language with language package example
+8.9k Golang : Sort and reverse sort a slice of floats
+23.2k Golang : Generate MD5 checksum of a file
+38.2k Golang : Convert to io.ReadSeeker type
+13.4k Golang : Send email with attachment(RFC2822) using Gmail API example
+11k Golang : Determine if time variables have same calendar day