Create a Task to Display Service Packs & Hotfixes in MOM Operator Console

Justin HarterMOM MVP has an excellent write up on HOW TO “Create a Task to Display Service Packs & Hotfixes” for selected MOM AGENT in MOM Operator Console which can be downloaded from MOM GUIDES on MOMresources.com.


The procedure to create the task is achieved by simple WMIC command (one line);


wmic /node:$Computer Name$ qfe GET description,hotfixid,installedby,installedon,servicepackineffect


But, there is a known issue if $Computer Name$ contains special characters like ‘-‘ or ‘/’. For instance, if your $Computer Name$ = RIYADH-DC-01, then you will see ‘Invalid Global Switch’ message in the output window when you ran this task.


To run this task succesfully, you might want to edit Task Command line as follows;


wmic /node:’$Computer Name$’ qfe GET description,hotfixid,installedby,installedon,servicepackineffect


Note that ” for $Computer Name$.


PREVIOUS COMMAND:


wmic /node:$Computer Name$ qfe GET description,hotfixid,installedby,installedon,servicepackineffect


NEW COMMAND:


wmic /node:$Computer Name$ qfe GET description,hotfixid,installedby,installedon,servicepackineffect


Justin, if you are reading this blog entry then kindly edit it in your PDF file. Once again thanks for the documentation 🙂


If you are looking for some .vbs script to query / enumerate installed hotfixes, then check out http://msmvps.com/blogs/athif/archive/2005/11/20/76035.aspx

2 thoughts on “Create a Task to Display Service Packs & Hotfixes in MOM Operator Console

Leave a Reply

Your email address will not be published. Required fields are marked *