locked
Speeding up loading of SCOM 2012 snap-in RRS feed

  • Question

  • Is there a way to speed up the loading of the Microsoft.EnterpriseManagement.OperationsManager.Client snap-in or only load part of it?  This module is costing us 30 seconds to load in our PowerShell script before the script does any work

    We have a script running on our CA NSM server that extracts a little more information out of SCOM 2012 for each alert (SNMP trap) using the get-alert cmdlet.  For each alert that we get, we are firing up a new PS thread.

    Any advice is appreciated.

    Tuesday, September 16, 2014 2:33 PM

Answers

  • This doesn't answer your question directly, but I would suggest implementing a timed rule that gather this additional information instead of using the command channel. This way, you can execute the script once for 1 or multiple alerts on a schedule, and this would effectively cut down on snapin load time if there are many alerts at generally the same time. Also, there are built-in powershell providers that may be used if you implement in a rule, which I believe loads these snapins more efficiently.

    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

    • Marked as answer by Yan Li_ Monday, September 29, 2014 3:03 AM
    Wednesday, September 17, 2014 3:28 AM