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
+9.3k Golang : Convert date string to variants of time.Time type examples
+4.5k Golang : Proper way to test CIDR membership of an IP 4 or 6 address example
+5.6k Elastic Search : Mapping date format and sort by date
+5.4k Javascript : Read/parse JSON data from HTTP response
+5k Golang : Simple client-server HMAC authentication without SSL example
+14k Golang : Calculate time different
+12.8k Golang : Pipe output from one os.Exec(shell command) to another command
+8.2k Golang : Read large file with bufio.Scanner cause token too long error
+9.6k Golang : Close channel after ticker stopped example
+2.4k Javascript : How to refresh page with JQuery ?
+2.5k Swift : Convert string array to array example
+1.9k Golang : ROT32768 (rotate by 0x80) UTF-8 strings example