Book Image

Microsoft Hyper-V PowerShell Automation

By : Vinith Menon
Book Image

Microsoft Hyper-V PowerShell Automation

By: Vinith Menon

Overview of this book

Table of Contents (13 chapters)
Microsoft Hyper-V PowerShell Automation
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating reusable scripts for virtual machine creation utilizing ODX


Using the core virtual machine cmdlets included in Hyper-V PowerShell, we can automate the process of virtual machine creation. With Windows Server 2012, Windows Server 2012 R2, and System Center Virtual Machine Manager 2012 R2, we can speed up the process of virtual machine provisioning utilizing ODX, so let's look at what exactly ODX is.

ODX is a new technology feature supported by the latest Windows Server 2012 and Windows Server 2012 R2 operating systems that offloads the standard copy operations from Windows networks to the underlying storage system. For example, a virtual hard disk, when copied over the network for a virtual machine provisioning process, would take hours to complete the copy process depending on the virtual hard disk size as the copy process takes place over the network.

ODX is enabled by default in Windows Server 2012 and Windows Server 2012 R2. You can check whether it's enabled or disabled using...