Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
System Center 2012 R2 Virtual Machine Manager Cookbook - Second Edition

You're reading from   System Center 2012 R2 Virtual Machine Manager Cookbook - Second Edition Over 70 recipes to help you design, configure, and manage a reliable and efficient virtual infrastructure with VMM 2012 R2.

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781782176848
Length 428 pages
Edition 2nd Edition
Arrow right icon
Authors (2):
Arrow left icon
EDVALDO ALESSANDRO CARDOSO EDVALDO ALESSANDRO CARDOSO
Author Profile Icon EDVALDO ALESSANDRO CARDOSO
EDVALDO ALESSANDRO CARDOSO
Edvaldo Alessandro Cardoso Sobrinho Edvaldo Alessandro Cardoso Sobrinho
Author Profile Icon Edvaldo Alessandro Cardoso Sobrinho
Edvaldo Alessandro Cardoso Sobrinho
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. VMM 2012 Architecture FREE CHAPTER 2. Upgrading from Previous Versions 3. Installing VMM 2012 R2 4. Installing a High Available VMM Server 5. Configuring Fabric Resources in VMM 6. Deploying Virtual Machines and Services 7. Managing VMware ESXi and Citrix® XenServer® Hosts 8. Managing Hybrid Clouds, Fabric Updates, Resources, Clusters, and the New Features of R2 9. Integration with System Center Operations Manager 2012 R2 10. Scripting in Virtual Machine Manager Index

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 was executed in the VMM console will save you time when working with scripts. Save the script, 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 how a hardware profile is created. Carry out the following steps in order to do so:

  1. Connect to the VMM 2012 R2 console using the VMM admin account that was created previously (lab\vmm-admin).
  2. On the left-bottom pane, click on the Library workspace, expand Profiles on the left-hand side pane, and then click on Hardware Profiles.
  3. Select and right-click on Create Hardware Profile.
  4. In the New Hardware Profile dialog box, on the General page, type in the hardware profile name, for example, 1 vCPU Server.
  5. Click on Hardware Profile on the left...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image