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
+14.4k Golang : GUI with Qt and OpenCV to capture image from camera
+8.3k Golang : Generate Datamatrix barcode
+5.2k Golang : Pad file extension automagically
+27.2k Golang : Convert CSV data to JSON format and save to file
+16.3k Golang : Check if a string contains multiple sub-strings in []string?
+7.6k Golang : get the current working directory of a running program
+19.4k Golang : How to Set or Add Header http.ResponseWriter?
+10.2k Golang : cannot assign type int to value (type uint8) in range error
+8.3k Golang : How to check variable or object type during runtime?
+36k Golang : Save image to PNG, JPEG or GIF format.
+13.2k Golang : Linear algebra and matrix calculation example
+17.9k Golang : How to log each HTTP request to your web server?