Book Image

Microsoft System Center 2012 R2 Operations Manager Cookbook

Book Image

Microsoft System Center 2012 R2 Operations Manager Cookbook

Overview of this book

Table of Contents (18 chapters)
Microsoft System Center 2012 R2 Operations Manager Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Scripting the deployment


This recipe will help you develop a series of scripts that can be used to deploy the main roles and features of System Center 2012 R2 Operations Manager:

  • Management Servers

  • Data Warehouse

  • Reporting Server

  • Gateways

While deploying some of the base infrastructure is usually a one-time operation, having these scripts will enable you to adopt a more scalable approach to Operations Manager with the ability to easily scale out your deployment as your monitoring needs expand.

Getting ready

For this recipe, you will require some virtual machines on which to test the deployment of SCOM and a PowerShell editor, such as the PowerShell ISE that is supplied with Windows.

You will need to copy the SCOM installation files from the DVD or ISO image to a file share that you will have access to from the server and as the user that you will run the script as.

How to do it...

The following code requires either typing into a PowerShell code editor such as the ISE or try downloading it from the...