Another new feature in MDT 2012 Update 1 is the ability to call System Center 2012 Orchestrator runbooks from within a task sequence. This works with Lite Touch deployments, ConfigMgr 2007, and ConfigMgr 2012. Using this capability, you can tie external processes into your task sequences, without needing to employ developers to create web services or stored procedures. So this is yet another option for making your deployments more dynamic.
Unlike the setup in place for web services and stored procedures, the Orchestrator support is not tied to CustomSettings.ini. Instead, it is designed to run at any point in the task sequence itself by adding a new “Execute Orchestrator Runbook” requests wherever you want them:
In each of those steps, you specify the name of the Orchestrator server, then browse for an available runbook:
If that runbook accepts input parameters, you can pass those from the task sequence either explicitly (type in the value you want, using variable substitution if necessary) or implicitly (if the runbook parameter name matches the name of a task sequence variable, the value of that variable will be passed automatically).
You can also specify to wait for the runbook to complete before allowing the task sequence to continue. That makes the process synchronous, and also provides a way for the runbook to return values back to the task sequence: Any return parameters from the runbook execution job will be set as task sequence variables so that subsequent task sequence steps can use those values.
You can include as many of these “Execute Orchestrator Runbook” steps in the task sequence as you would like, but keep in mind the potential time this may add to the deployment process, as well as the load it may place on your Orchestrator server if you deploy hundreds of thousands of machines at the same time.
The default MDT task sequences won’t contain any “Execute Orchestrator Runbook” steps, so this is provided entirely for customization. Be creative
Some ideas for runbooks that you might want to try:
One of these days I’ll get around to blogging about some samples…