How do I determine the Cumulative Update level of my SCOM agents?
I need to write a VBScript to determine the Cumulative Update level of my SCOM agents. Does anyone know the best way to do it? Thank you,Carlos Felipe Frana da Fonseca
June 21st, 2012 1:54am

Take for instance the file monitoringhost.exe in the scom subdirectory and read the file version. If it is 6.1.7221.61 = cu4 , 6.1.7221..81 = cu5 , 6.1.7221..99 = cu6. You can do this with multiple files to be sure, but to be honest one important file would be enough. However, you can see the agent versions listed in the agents-by-version state view in the monitoring pane (Operations Manager folder -> agents). There is also a report in for instance the SCC Health check reports you can downlaod from systemcentercentral. Those are the methods I prefer over scripts. I will very soon publish a blog post on how to check the CU 5 and 6 installations on scom RMSD and MS and Gateway and Webconsole server components of SCOM. The agents is simply watching the state view as stated above.Bob Cornelissen - BICTT (My Blog about SCOM) - MVP 2012 and Microsoft Community Contributor 2011 Recipient
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2012 2:29am

If you have SCCM then you might want to leverage that - this is a starting point: http://blog.tyang.org/2011/05/12/creating-a-collection-in-sccm-for-all-scom-2007-r2-agents-without-cumulative-update-4-installed/ Cheers GrahamRegards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
June 21st, 2012 2:39am

Just to follow up Bobs first post - if you want to use SCOM rather than SCCM for this then please see here: http://www.bictt.com/blogs/bictt.php/2012/06/21/checking-if-cu5-for-scom http://www.bictt.com/blogs/bictt.php/2012/06/21/checking-if-cu6-for-scom Cheers GrahamRegards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2012 4:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics