System Center Virtual Machine Manager (VMM) Scripting Guides

Whether you’re new to Windows PowerShell scripting or consider yourself an expert, because System Center Virtual Machine Manager is built on PowerShell, any action that you can do in UI, can also be done using VMM cmdlets. “Scripting Guide provides examples of how to automate tasks and augment functionality of product. If you're new to […]

Whether you’re new to Windows PowerShell scripting or consider yourself an expert, because System Center Virtual Machine Manager is built on PowerShell, any action that you can do in UI, can also be done using VMM cmdlets. “Scripting Guide provides examples of how to automate tasks and augment functionality of product. If you're new to VMM cmdlets, start by visiting Introduction to help get your bearings. There, you can discover how to: · Add VMM snap-in ·List all VMM cmdlets · Use VMM cmdlets · Connect to VMM server. After you’ve explored VMM cmdlets that’re available to you, you can peruse remaining sections, which contain examples for managing various aspects of VMM such as hosts, VMs, and a VMware environment. One of the goals of Scripting Guide’s (VMM 2008 R2 Scripting Guide) to help admins write scripts that can be used to perform repetitive tasks. For e.g., if you want to create a VM, you can do this using UI. However, you can only create one VM at a time. If you want to create, say, 50 VMs, it would take quite a few trips through New VM wizard to accomplish this,” notes Microsoft.

VMM 2008 R2 Scripting Guide

More info: The VMM Scripting Guide: It Slices, It Dices, It Performs Tricks!