Updated MP Author’s System Center 2012 Orchestrator Management Pack


Over the last week or so, I’ve been busy creating Squared Up dashboards for various System Center 2012 components, which will be made publicly available through Squared Up’s new community site. While I was creating dashboards for some System Center components, I realised how little do the native MP from Microsoft offers (i.e. Orchestrator and Windows Azure Pack).  Luckily, some awesome MP developers have recognised this and released additional MPs to fill the gaps. i.e

So in additional to creating Squared Up dashboards for the native System Center management packs, I have also created dashboards for above mentioned community MPs.

However, if you have used (or tried to use) Brian’s Orchestrator Runbook MP, you’d probably know the PowerShell scripts in the MP is not compatible with Windows Server 2012 R2 or PowerShell version 3 and later. The issue is raised in the Q and A section (in a function, you can not use return in try-catch-finally statement).

Updated MP

I have tried to implement this MP a while back at my previous job. Not only I tried to update the PowerShell scripts, in my opinion, I did not want to create another “Runbook Host” class (by creating few registry keys and values) for hosting runbooks. Therefore, I’ve made another update to this MP: I’ve removed “Runbbook Host” class, and configured the “Orchestrator Runbooks” objects to be hosted by the Orchestrator Management Server:


You can also see the hosting stack in Squared Up (the critical object on the top is the runbook, and the critical object at the bottom is the Windows Computer:


After I updated this MP  (must be over a year ago), I’ve never bothered to publish it. Few weeks ago, my fellow SCCDM MVP Adin Ermie had a requirement for a fixed version. That’s when I realised I worked on it last year. When I gave Adin my version, he has also found out I fixed some scripts, but not all of them. So I updated it again, tested it myself today, and made sure the runbooks are correctly discovered and monitored.

Upgrade Compatibility

If you have already imported the original MP in your management group, I am afraid my updated version will not be compatible for in place upgrade, because I have removed various elements from the original MP (class definition, discoveries, etc.), and I have also used another key to seal the MP. These changes made the updated MP not compatible for in-place upgrade. So, if you’d like to use my version, you will have to delete the original version from your management group first.

Configuring the Management Pack

From Brian’s original MP download, there is also a MP guide included. As stated in the original MP guide, you will need to create few registry keys and values for the Runbook Host as well as creating a Run As account that has access to the Orchestrator Web Service.

When using this updated MP, it is obvious that you do not need to create those registry keys and values anymore because the “Runbook Host” class has been removed. But you will still need to create this Run As account and assign it to the “Orchestrator Web Service Account” Run As Profile:


However, since I have removed the “Runbook Host” class, instead of distributing this Run As account to the health service hosting the “Runbook Host” class instance, you will need to distribute it to your Orchestrator management servers instead.

You may also want to monitor the “Monitor runbooks”. If this is the case, you will need to enable the “Runbook Running” monitor for the “MPAuthor Monitor Runbooks” group:



I have enabled this monitor in my lab, and the Squared Up dashboard I created ended up look like this:



Obviously, big thank-you would go to Brian Wren, for developing this MP and made the entire VSAE project available for everyone. I’d also like to thank my fellow SCCDM MVP Adin Ermie for testing it for me.


You can download my updated MP from the link below. Please feel free to contact me if you have any questions or issues.

GitHub Repo





  1. Hi, great job! I only have one issue. The chosen architecture here is not having the web service on the management server role…. Result is I cant use the MP and its exclude to install the console and web services on the management server,. Can you please provide me the source so I can change the discovery… Or maybe a nice to have would be you insert an override so people can decide what to discover…

  2. Same here. Is it possible to change the mp so that we can use it on installations that have the web service on a seperate web server?

  3. I cannot make the discovery works. I have setup the run as profile account correctly but no discovery no runbooks. I have the original orchestrator mp as well as infront runbook monitoring mp. Is a conflict between infront mp and this mp possible ?

  4. Or maybe i should still have the registry keys set ? I cannot understand why it is not discovering as my both SCORCH servers are discovered and green in the Original SCORCH Management Pack.

  5. Nice work! This MP works much better than the last one with less overhead. Observed the performance for discovery is much improved. Configuration was a breeze.

  6. Hi Tao have you released your update as need to add in the classes for the SCORCH 2016 runbooks if at all possible.

  7. We upgraded our SCORCH 2012 to SCORCH 2016, and the management pack no longer works as it has a missing dependency for the SCORCH 2012 MP. Have you had a chance to update this Management pack to work with the new SCORCH 2016 MP?

    1. Also any update on the MP with the Web Service running on a server that is not the Management Server?

  8. I was getting the following error when discovering runbooks:
    No runbooks found at http://xxx:0/Orchestrator2012/Orchestrator.svc/Runbooks()
    (Note the script was using port 0)

    After checking out the discovery script I saw the function getWebPort was looking in the registry for the WebPort – I had the WebPort key in the registry but there was no value:
    Adding port 81 to this registry key solved the non-discovery issue for me.

  9. DiscoverRunbooks.ps1 appears to be set to query Orchestrator.svc using http, is there a way to configure to use https instead?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: