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.
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.