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
+19.5k Golang : Check whether a network interface is up on your machine
+9.9k Golang : Load ASN1 encoded DSA public key PEM file example
+48.4k Golang : How to convert JSON string to map and slice
+10.5k Golang : Detect number of faces or vehicles in a photo
+14.1k Golang : concatenate(combine) strings
+7.3k Nginx : How to block user agent ?
+9.3k Golang : Serving HTTP and Websocket from different ports in a program example
+9.4k Golang : How to control fmt or log print format?
+5.6k Javascript : How to loop over and parse JSON data?
+15.2k Golang : Search folders for file recursively with wildcard support
+7.5k Golang : How to iterate a slice without using for loop?
+14.9k Golang : Normalize unicode strings for comparison purpose