Authoring Automation Runbooks
Applies To: Windows Azure Pack for Windows Server, System Center 2012 R2 Orchestrator
Runbooks in Service Management Automation and Microsoft Azure Automation are Windows PowerShell workflows. They provide the ability to automate administrative processes for managing and deploying cloud servers or any other function that a Windows PowerShell script can perform.
There is no difference in the runbooks between the two systems, and the same runbook can run on either with identical functionality. When the term Automation is used in this guide, it refers to both Service Management Automation and Microsoft Azure Automation.
The additional services provided by Automation for working with Windows PowerShell Workflows include the following:
Centralized storage and management of runbooks.
Scalable architecture for scheduling and running runbooks.
Global resources that are centrally managed and available to all runbooks.
User interface for authoring and testing runbooks.
Set of cmdlets for managing and starting runbooks.
Runbook Authoring Topics
The following topics provide information on creating and working with Automation runbooks.
Describes the different types of runbooks supported by Service Management Automation.
Windows PowerShell Workflow Concepts
Describes the concepts of Windows PowerShell Workflows as they relate to runbooks.
Different methods for creating a new runbook or importing an existing runbook.
Details on how to edit a runbook once it"s created.
How to publish the draft version of a runbook to make it available to be executed.
How to test a runbook before you publish it.
Assets such as connections and variables that are available to all runbooks.
Details on the different methods for sending output and user messages from a runbook.
Guidance on the different methods for calling one runbook from another runbook.
Details on how to build an integration module with activities that can be used by runbook.