Find hotfixes from Windows machines via wmic

Here is the command to get the hotfixes off your local machine.

wmic qfe get caption, description, hotfixid, installedon > hotfix.txt

Results

 

Caption                                        Description      HotFixID   InstalledOn
http://go.microsoft.com/fwlink/?LinkId=161784  Update           KB971033   1/5/2011     
http://support.microsoft.com/?kbid=2032276     Security Update  KB2032276  1/5/2011     
http://support.microsoft.com/?kbid=2079403     Security Update  KB2079403  1/5/2011     
http://support.microsoft.com/?kbid=2207566     Security Update  KB2207566  1/5/2011         

To execute the command on a remote pc.

wmic /node:10.1.1.1 qfe get caption, description, hotfixid, installedon > hotfix.txt

 

View Blog