O'Reilly logo

Microsoft System Center 2012 Orchestrator Cookbook by Andreas Baumgarten, Samuel Erskine, Steven Beaumont

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing error handling in your Runbooks

This recipe will describe different methods of error handling in a Runbook. The current recommended practice is to ensure you implement error handling in all your Runbooks. Typical reasons why errors occur are incorrectly typed inputs and missing expected inputs.

In this recipe, you will enhance the recipe Add User To Group In AD you created in Chapter 4, Creating Runbooks for Active Directory Tasks, to include error handling.

Getting ready

The preparation for this recipe requires you to create the Adding users to groups in Active Directory Runbook described in Chapter 4, Creating Runbooks for Active Directory tasks.

The Runbook should look like and be called:

"Add User To Group In AD"

You must also define ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required