Exporting a Virtual Machine Checkpoint

Something neat that you can do in Windows Server 2012 / Windows 8 or later is to export a virtual machine checkpoint.  You can do this by either: Selecting the checkpoint in the UI and selecting Export from the action pane Using the Export-VMSnapshot cmdlet When you do this, we will actually create an exported… Read more

Hyper-V Networking–NIC Teaming

If you look at the advanced features of a network adapter in Hyper-V, you may have noticed the NIC Teaming option below: And wondered what this was about. In most deployments you will enabled network adapter teaming in the host operating system, and connect a virtual switch to the team.  If you do this you… Read more

Understanding Maximum Dynamic Memory from inside a VM

Dynamic memory is a great feature that allows Hyper-V administrators to get better utilization of their physical memory.  But it can be hard to tell what is going on from inside of a virtual machine.  There are, however, some things that you can do from inside a virtual machine. The first thing you can do… Read more

Importing a VM with VHDs in Different Paths

I was recently given an interesting challenge.  I was asked to show how you could use PowerShell to import a virtual machine; where the virtual hard disks were stored in multiple different locations.  Now, if the virtual hard disks were all in a single location, you could just use the “VHDSourcePath” parameter on Import-VM to… Read more

Hyper-V Networking–Router Guard

Router guard is another advanced networking feature that was added in Windows Server 2012: When you enable Router Guard Hyper-V switch will discard the following packets: ICMPv4 Type 5 (Redirect message) ICMPv4 Type 9 (Router Advertisement) ICMPv6 Type 134 (Router Advertisement) ICMPv6 Type 137 (Redirect message) Much like DHCP guard – the two most common… Read more

Hyper-V Networking–DHCP Guard

If you start digging into the advanced settings section of a virtual network adapter – there is a lot of interesting stuff to look at.  Today I’m going to talk about the DHCP guard setting: This setting stops the virtual machine from making DHCP offers over this network interface.  To be clear – this does… Read more

Updated Hypervisor Top Level Functional Specification

We have recently published a new version of the Hypervisor Top Level Functional Specification for Windows Server 2012 R2 / Windows 8.1.  You can grab a copy here: http://download.microsoft.com/download/A/B/4/AB43A34E-BDD0-4FA6-BDEF-79EEF16E880B/Hypervisor Top Level Functional Specification v4.0.docx Now, when you first open this document and start looking through it – you are probably going to think to yourself… Read more

Using Compare-VM on Compare-VM

I have been spending a lot of time this week looking at all the functionality that is available in the Compare-VM PowerShell cmdlet in Hyper-V.  The core concept of Compare-VM is that it returns a “virtual machine compatibility report” that lets you know about any problems that exist with the virtual machine. Once you have… Read more

Using PowerShell to Live Migrate to a Computer with a Different Virtual Switch

So far this week I have shown you how to register and how to import virtual machines with configuration problems using PowerShell.  However, the question I most often hear is this one: how do I use PowerShell to live migrate a virtual machine to another computer – where the virtual switch names do not match?… Read more

Importing an Incompatible VM with PowerShell

Yesterday I stepped through the process of registering an incompatible virtual machine with PowerShell.  But what if you want to import the virtual machine instead of registering it?  Well, the process is pretty much identical.  Replace Import-VM with Compare-VM, fix the incompatibilities on the virtual machine report, and import it. You see, Compare-VM supports all… Read more