Wednesday, November 11, 2009

Enlist and export installed HotFix on Windows (7)

Sometimes we need to be sure ALL servers (production ones, by example) are aligned from HotFix point of view; sometimes we are in doubt production servers and Integration ones are NOT aligned with service packs and hotfixes.

Here's a small script (you can run from the Command Line), to generate a .csv file with all information regarding installed HotFix.

wmic qfe list full /format:csv /output:c:\temp\qfe.csv


NOTE:
Windows 7 has a bug with the (some) /format command switch. 
The command above DOES NOT WORK giving the following error : “Invalid XSL format (or) file name.

The following command is a workaround on Windows 7 PCs.

wmic qfe list /format:table >C:\temp\hotfixes.txt

 

Hope this will help managing your Infrastructure.

1 comments:

  1. I'm delighted that I have observed this weblog. Finally anything not a junk, which we go through incredibly frequently. The website is lovingly serviced and kept up to date. So it need to be, thank you for sharing this with us.
    windows 7 home basic key
    ReplyDelete