O'Reilly logo

Microsoft System Center Virtual Machine Manager 2012 Cookbook by Edvaldo Alessandro Cardoso

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

Creating a script from VMM wizards

You can use the VMM console to help you with the PowerShell script to automate tasks.

Getting the script from a previous task that had been executed in the VMM console will save you time when working with scripts. Save it, and then personalize it to make it generic. Every task that is created in VMM can be scripted.

How to do it...

You can create a script from one of the VMM wizards. In this recipe, we will create a script based on the creation of a hardware profile. Carry out the following steps in order to do so:

  1. Connect to the VMM 2012 console using the VMM admin account that has been created previously (lab\vmm-admin).
  2. On the left-bottom pane, click on the Library workspace, expand Profiles on the left-hand side ...

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