<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Virtual PC Guy's Blog</title><link>http://blogs.msdn.com/b/virtual_pc_guy/</link><description>Talking about Hyper-V and Virtual PC at Microsoft.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Pasting text to Hyper-V guests drops characters in Windows 8</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/21/pasting-text-to-hyper-v-guests-drops-characters-in-windows-8.aspx</link><pubDate>Mon, 21 May 2012 20:57:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10308448</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10308448</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/21/pasting-text-to-hyper-v-guests-drops-characters-in-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/21/pasting-text-to-hyper-v-guests-drops-characters-in-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;I often use the feature of Hyper-V that allows you to “type clipboard text” into a virtual machine.&amp;#160; Unfortunately, in the Windows 8 / Windows Server 2012 beta release there is a known issue where doing this can result in missing or garbled characters being typed into the virtual machine.&lt;/p&gt;  &lt;p&gt;Luckily – Ned Pyle has posted the details of how to work around this &lt;a href="http://social.technet.microsoft.com/Forums/en-US/winserver8gen/thread/3973d9be-e2c6-4535-a0cf-b4db19423002" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;My preferred option is to increase the keyboard buffer (the second option that he outlines).&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10308448" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Why is my virtual machine “Off-Critical”?</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/11/why-is-my-virtual-machine-off-critical.aspx</link><pubDate>Fri, 11 May 2012 17:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10304024</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10304024</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/11/why-is-my-virtual-machine-off-critical.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/11/why-is-my-virtual-machine-off-critical.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;In Windows 8 / Windows Server 2012 we have introduced a new state for a virtual machine to be in.&amp;#160; This is called “Off-Critical”.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5822.MissingVM_5F00_4CA45203.png" target="_blank"&gt;&lt;img title="MissingVM" style="display: inline; background-image: none;" border="0" alt="MissingVM" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8176.MissingVM_5F00_thumb_5F00_53575B86.png" width="644" height="277" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What is happening here is that there is a virtual machine registered with Hyper-V – but we cannot find the XML configuration file for that virtual machine.&amp;#160; In the past, this would have just caused the virtual machine to disappear from Hyper-V Manager.&amp;#160; In Windows 8 / Windows Server 2012 we now show the virtual machine in Hyper-V Manager – but mark it as “Off-Critical”.&lt;/p&gt;  &lt;p&gt;The most common reason to have a virtual machine that is “Off-Critical” is because you had the virtual machine stored on a file server or removable disk (e.g. USB) that is not currently available.&amp;#160; &lt;/p&gt;  &lt;p&gt;When a virtual machine is in this state you have two options:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Delete the virtual machine.&amp;#160; This will simply tell Hyper-V to stop looking for this virtual machine.&lt;/li&gt;    &lt;li&gt;Restore the missing storage (e.g. reconnect the USB disk)&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Note that in the beta build, after you have restored the missing storage you will need to stop and start the virtual machine management service for us to detect that the configuration file is back.&amp;#160; Once you have done this – everything should be good again:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6813.MissingVM_2D00_Back_5F00_6533EF53.png"&gt;&lt;img title="MissingVM Back" style="display: inline; background-image: none;" border="0" alt="MissingVM Back" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3683.MissingVM_2D00_Back_5F00_thumb_5F00_6BE6F8D6.png" width="644" height="277" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10304024" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Shrinking a VHD in Windows 8 - fast!</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/10/shrinking-a-vhd-in-windows-8-fast.aspx</link><pubDate>Thu, 10 May 2012 22:27:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10304019</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10304019</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/10/shrinking-a-vhd-in-windows-8-fast.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/10/shrinking-a-vhd-in-windows-8-fast.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;A couple of days ago I talked about how it was much easier to &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/07/shrinking-a-virtual-hard-disk-in-windows-8.aspx" target="_blank"&gt;shrink a virtual hard disk in Windows 8&lt;/a&gt;.&amp;#160; But after writing that blog post – I spent some time playing around with PowerShell and found that there was an even better option.&lt;/p&gt;  &lt;p&gt;Instead of logging into a running virtual machine, doing some work, shutting it down and completing the operation.&amp;#160; You can do everything from PowerShell in Hyper-V if the virtual machine is shutdown first.&lt;/p&gt;  &lt;p&gt;The process that I figured out is as follows:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;get-vm &amp;lt;vmname&amp;gt; | select ID | get-vhd | select path&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This command will get you the virtual hard disk path and file name for each virtual hard disk in the virtual machine. Obviously you can skip this if you already know it.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;strong&gt;mount-vhd &amp;lt;vhdname&amp;gt; –passthru | get-disk | get-partition | get-volume&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This will mount the virtual hard disk in the management operating system, and let you know the drive letter that was assigned to it.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;strong&gt;resize-partition –driveletter &amp;lt;driveletter&amp;gt; –size &amp;lt;newsize&amp;gt;&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;This will resize the partition inside the virtual hard disk&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;strong&gt;dismount-vhd &amp;lt;vhdname&amp;gt;&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Dismount the virtual hard disk after shrinking the partition&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;&lt;strong&gt;resize-vhd &amp;lt;vhdname&amp;gt; –ToMinimumSize&lt;/strong&gt;&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Now shrink the virtual hard disk to match the new size&lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;Here is a screenshot of me resizing a virtual hard disk from 50GB to 30GB on a virtual machine:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1663.PowerShell_2D00_resize_5F00_34EF365E.png" target="_blank"&gt;&lt;img title="PowerShell resize" style="display: inline; background-image: none;" border="0" alt="PowerShell resize" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4718.PowerShell_2D00_resize_5F00_thumb_5F00_74B91CE3.png" width="644" height="237" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This whole process took under a minute and was completed without needing to start the virtual machine.&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10304019" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Shrinking a virtual hard disk in Windows 8</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/07/shrinking-a-virtual-hard-disk-in-windows-8.aspx</link><pubDate>Mon, 07 May 2012 15:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10301671</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10301671</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/07/shrinking-a-virtual-hard-disk-in-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Late last year I posted about the process that I followed to reduce the disk size of my virtual machines, prior to converting them to using a fixed size virtual hard disk.&amp;#160; The process I used was &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2011/12/29/converting-to-a-fixed-virtual-hard-disk-the-hard-way.aspx" target="_blank"&gt;quite complicated&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If only I had waited for the beta availability of Windows Server 2012 – things could have been a lot simpler.&amp;#160; You see, one of the new features in Windows Server 2012 is the ability to shrink a virtual hard disk.&amp;#160; You need to free up space inside the virtual hard disk first – but then you can shrink the drive using a simple wizard.&amp;#160; This means that the process of shrinking an existing virtual machine now looks like this:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Login to the virtual machine using an administrative account &lt;/li&gt;    &lt;li&gt;Open &lt;strong&gt;Server Manager&lt;/strong&gt; and select the &lt;strong&gt;Disk Management&lt;/strong&gt; node under the &lt;strong&gt;Storage&lt;/strong&gt; node. &lt;/li&gt;    &lt;li&gt;Right click on the partition that you want to shrink and select &lt;strong&gt;Shrink&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Select how much you want to shrink the partition by &lt;/li&gt;    &lt;ol&gt;     &lt;li&gt;In my case I want to shrink a 250GB partition to 70GB:        &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3021.image_5F00_54894F68.png" target="_blank"&gt;&lt;img title="Server Manager inside a virtual machine" border="0" alt="Server Manager inside a virtual machine" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0880.image_5F00_thumb_5F00_20E0E30A.png" width="576" height="484" /&gt;&lt;/a&gt;&lt;/li&gt;   &lt;/ol&gt;    &lt;li&gt;Once this is complete, shutdown the virtual machine.&lt;/li&gt;    &lt;li&gt;Open the virtual machine settings under Hyper-V and select the virtual hard disk that you want to shrink.&lt;/li&gt;    &lt;li&gt;Click on the &lt;strong&gt;Edit&lt;/strong&gt; button.&lt;/li&gt;    &lt;li&gt;This will open the &lt;strong&gt;Edit Virtual Hard Disk Wizard&lt;/strong&gt; where you can now select to &lt;strong&gt;Shrink &lt;/strong&gt;the virtual hard disk:       &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3884.image_5F00_231A8A78.png" target="_blank"&gt;&lt;img title="Edit Virtual Hard disk Wizard" style="display: inline; background-image: none;" border="0" alt="Edit Virtual Hard disk Wizard" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5025.image_5F00_thumb_5F00_4DF2EE8A.png" width="642" height="484" /&gt;&amp;#160;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Now hit &lt;strong&gt;Finish&lt;/strong&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Hyper-V will automatically shrink the virtual hard disk to remove any free space from the end of the disk – so there is no need to enter how much you want to shrink the disk by.&amp;#160; Once this process is complete your can boot the virtual machine and start using the smaller virtual hard disks.&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10301671" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Windows 8 key combinations inside of Hyper-V</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/03/windows-8-key-combinations-inside-of-hyper-v.aspx</link><pubDate>Thu, 03 May 2012 16:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10300226</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10300226</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/03/windows-8-key-combinations-inside-of-hyper-v.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/03/windows-8-key-combinations-inside-of-hyper-v.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Along with the new user experience in Windows 8, we have introduced a number of new Windows-Key shortcut combinations.&amp;#160; For example – Windows Key + C will bring up the charms bar, while Windows Key + Z brings up the application bar.&amp;#160; You can read about all of the various options on the &lt;a href="http://windowsteamblog.com/windows/b/windowsexperience/archive/2012/03/08/getting-around-in-windows-8.aspx" target="_blank"&gt;Getting around in Windows 8 post&lt;/a&gt; on the Windows team blog.&lt;/p&gt;  &lt;p&gt;But how does this work for Windows 8 inside a Hyper-V virtual machine?&lt;/p&gt;  &lt;p&gt;With Hyper-V on Windows 8 – we have updated things so that, by default, all Windows key combinations go through to the virtual machine (except for Windows Key + L for locking the desktop).&amp;#160; This means that you can just use the keyboard shortcuts out-of-the-box.&lt;/p&gt;  &lt;p&gt;If, however, you are running Windows 8 on Hyper-V on Windows Server 2008 R2 – Windows key combinations will not go into the virtual machine by default.&amp;#160; But this can be easily remedied. All you need to do is to open the Hyper-V settings and go to the &lt;strong&gt;Keyboard&lt;/strong&gt; setting:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2772.image_5F00_00A57211.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3858.image_5F00_thumb_5F00_673D6ED6.png" width="517" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;There you can select &lt;strong&gt;Use on the virtual machine&lt;/strong&gt;.&amp;#160; Then you will be able to use the new key combinations in virtual machines too.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10300226" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Ubuntu 12.04 under Hyper-V on Windows 8</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/02/ubuntu-12-04-under-hyper-v-on-windows-8.aspx</link><pubDate>Wed, 02 May 2012 17:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10299813</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10299813</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/02/ubuntu-12-04-under-hyper-v-on-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/05/02/ubuntu-12-04-under-hyper-v-on-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Recently a number of the Hyper-V drivers for Linux made it into the main kernel branch.&amp;#160; This means that native support for Hyper-V is starting to turn up in a number of Linux distributions.&amp;#160; Ubuntu 12.04 LTS is an example of a new Linux release with Hyper-V support “out of the box”.&amp;#160; To try this out for myself – I grabbed the 32-bit desktop install media from Ubuntu.com and fired up a virtual machine:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6013.ubuntu_2D00_12_2D00_1_5F00_0A6CA36F.png" target="_blank"&gt;&lt;img title="ubuntu-12-1" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-1" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4452.ubuntu_2D00_12_2D00_1_5F00_thumb_5F00_43174D7C.png" width="617" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After the initial splash screen, I was pleasantly surprised by the first indication of the improved Hyper-V support.&amp;#160; Before even install Ubuntu, on the first page of setup, I already had integrated mouse support.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0131.Ubuntu_2D00_12_2D00_2_5F00_3EA0CCB5.png" target="_blank"&gt;&lt;img title="Ubuntu-12-2" style="display: inline; background-image: none;" border="0" alt="Ubuntu-12-2" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7484.Ubuntu_2D00_12_2D00_2_5F00_thumb_5F00_168E1D96.png" width="577" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I chose to &lt;strong&gt;Install Ubuntu&lt;/strong&gt; and was then presented with a page that confirmed that I had enough space, and I had a valid internet connection. This was also interesting to note, as I had not added a legacy network adapter to the virtual machine.&amp;#160; This meant that Ubuntu had already recognized and loaded drivers for the Hyper-V high-performance network adapter.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3362.ubuntu_2D00_12_2D00_3_5F00_1CD4F424.png" target="_blank"&gt;&lt;img title="ubuntu-12-3" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-3" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3755.ubuntu_2D00_12_2D00_3_5F00_thumb_5F00_5FD0C291.png" width="577" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After this – the installation was fairly pedestrian…&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5305.ubuntu_2D00_12_2D00_4_5F00_3EDD4FEA.png" target="_blank"&gt;&lt;img title="ubuntu-12-4" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-4" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4807.ubuntu_2D00_12_2D00_4_5F00_thumb_5F00_78EC1CC9.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6545.ubuntu_2D00_12_2D00_5_5F00_4A92971C.png" target="_blank"&gt;&lt;img title="ubuntu-12-5" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-5" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1667.ubuntu_2D00_12_2D00_5_5F00_thumb_5F00_50D96DAA.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4885.ubuntu_2D00_12_2D00_6_5F00_10A35430.png" target="_blank"&gt;&lt;img title="ubuntu-12-6" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-6" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8203.ubuntu_2D00_12_2D00_6_5F00_thumb_5F00_0FCAEE46.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3324.ubuntu_2D00_12_2D00_7_5F00_6890A510.png" target="_blank"&gt;&lt;img title="ubuntu-12-7" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-7" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8270.ubuntu_2D00_12_2D00_7_5F00_thumb_5F00_758A8521.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0654.ubuntu_2D00_12_2D00_8_5F00_2062E934.png" target="_blank"&gt;&lt;img title="ubuntu-12-8" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-8" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3884.ubuntu_2D00_12_2D00_8_5F00_thumb_5F00_2C84635B.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7288.ubuntu_2D00_12_2D00_9_5F00_7E2ADDAD.png" target="_blank"&gt;&lt;img title="ubuntu-12-9" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-9" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0652.ubuntu_2D00_12_2D00_9_5F00_thumb_5F00_63120E9F.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8750.ubuntu_2D00_12_2D00_10_5F00_5B869F32.png" target="_blank"&gt;&lt;img title="ubuntu-12-10" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-10" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8233.ubuntu_2D00_12_2D00_10_5F00_thumb_5F00_3688DEB9.png" width="244" height="205" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The only quirk I encountered was that at the end of the initial installation phase – the virtual machine failed to reboot automatically.&amp;#160; It sat at this page for about a minute until I manually reset it:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7651.ubuntu_2D00_12_2D00_11_5F00_082F590C.png" target="_blank"&gt;&lt;img title="ubuntu-12-11" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-11" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3463.ubuntu_2D00_12_2D00_11_5F00_thumb_5F00_1A0BECD9.png" width="617" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;But after that it booted perfectly:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0714.ubuntu_2D00_12_2D00_12_5F00_07C32617.png" target="_blank"&gt;&lt;img title="ubuntu-12-12" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-12" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6746.ubuntu_2D00_12_2D00_12_5F00_thumb_5F00_74A1F96A.png" width="577" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And I confirmed that applications and network connectivity was working correctly:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7142.ubuntu_2D00_12_2D00_13_5F00_17EEEE10.png" target="_blank"&gt;&lt;img title="ubuntu-12-13" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-13" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8306.ubuntu_2D00_12_2D00_13_5F00_thumb_5F00_3E50D15B.png" width="577" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;My favorite part of this was seeing this message:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8625.ubuntu_2D00_12_2D00_14_5F00_24E8CE21.png" target="_blank"&gt;&lt;img title="ubuntu-12-14" style="display: inline; background-image: none;" border="0" alt="ubuntu-12-14" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1362.ubuntu_2D00_12_2D00_14_5F00_thumb_5F00_7218C7AC.png" width="577" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;“No proprietary drivers are in use on this system”.&amp;#160; Correct! The Hyper-V drivers are now part of Linux, under GPL.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10299813" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Operating+Systems+under+Virtual+PC+_2F00_+Virtual+Server+_2F00_+Hyper_2D00_V/">Operating Systems under Virtual PC / Virtual Server / Hyper-V</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Eric talks about Hyper-V PowerShell</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/30/eric-talks-about-hyper-v-powershell.aspx</link><pubDate>Mon, 30 Apr 2012 16:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298967</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10298967</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/30/eric-talks-about-hyper-v-powershell.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;You probably do not know who Eric Bahna is, but let me tell you why you want to.&amp;#160; Eric is a Senior Program Manager on my team who has been driving the development of Hyper-V’s PowerShell support for Windows 8 / Windows Server 2012.&amp;#160; If you want to know the “behind the scenes” story – Eric is the man to talk to.&amp;#160; In fact, half the time when I do a blog post about Hyper-V PowerShell cmdlets, at one stage in the writing of the blog post I had to walk into Eric’s office and ask “how the heck do I make this work?”&lt;/p&gt;  &lt;p&gt;With all that in mind – here is an interview with Eric where he talks about what is happening with Hyper-V PowerShell Support in Windows 8 / Windows Server 2012:&lt;/p&gt;  &lt;p&gt;&lt;script src="http://technet.microsoft.com/en-us/videoembed/technet-radio-it-time-managing-hyper-v-in-powershell-for-windows-server-8-beta" type="text/javascript"&gt;&lt;/script&gt;&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298967" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Storage Migration is “copy and delete” not “move”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/25/storage-migration-is-copy-and-delete-not-move.aspx</link><pubDate>Wed, 25 Apr 2012 16:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10297397</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10297397</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/25/storage-migration-is-copy-and-delete-not-move.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float: none; margin: 0px; padding: 0px 0px 0px 0px;"&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[
 tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/24/storage-migration-is-copy-and-delete-not-move.aspx'; 
// ]]&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;p&gt;A little while ago I wrote about &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/14/how-does-storage-migration-actually-work.aspx"&gt;how storage migration actually works&lt;/a&gt;.&amp;nbsp; One thing I would like to call out is that the storage migration process is &amp;ldquo;copy and delete&amp;rdquo; and not &amp;ldquo;move&amp;rdquo;.&amp;nbsp; Which is to say that just before storage migration is completed you will have two copies of your virtual hard disks on your computer, and the final stage of the storage migration will be to delete the original versions of the virtual hard disks.&lt;/p&gt;
&lt;p&gt;Why I am I highlighting this?&lt;/p&gt;
&lt;p&gt;Well, storage migration is designed to allow you to move your virtual machines from one storage location to a completely different location (i.e. a new disk, SAN or SMB share). But every now and then I find myself using storage migration just to reorganize my virtual machines and their folder structure.&amp;nbsp; This can result in problems if I want to move a large virtual machine from one folder to another folder on the same disk.&amp;nbsp; If I want to do this I need to make sure that I have enough space for two copies of the virtual hard disk.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10297397" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Storage Migration Hyper-V Settings</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/24/storage-migration-hyper-v-settings.aspx</link><pubDate>Tue, 24 Apr 2012 18:09:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10297285</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10297285</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/24/storage-migration-hyper-v-settings.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/24/storage-migration-hyper-v-settings.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Hyper-V provides one setting that you can configure for storage migration.&amp;#160; The maximum number of storage migrations you can have happening at the same time:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2654.image_5F00_6D3233AA.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2555.image_5F00_thumb_5F00_3A622D36.png" width="736" height="696" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;By default this is set to “2”.&amp;#160; If you try to perform more than this – you will receive an error message that tells you that you are at your limit.&amp;#160; If you want to change this setting (I usually set it to 10) the only thing you need to consider is if your physical storage is up to having that much I/O occurring at one point in time.&amp;#160; My systems tend to have SSD disks or to be configured in RAID 10 and are able to handle a larger number of simultaneous storage migrations comfortably.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10297285" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Storage Migration Performance</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/23/storage-migration-performance.aspx</link><pubDate>Mon, 23 Apr 2012 17:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10296676</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10296676</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/23/storage-migration-performance.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float: none; margin: 0px; padding: 0px 0px 0px 0px;"&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[
 tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/23/storage-migration-performance.aspx'; 
// ]]&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;p&gt;A common question I get asked about storage migration is &amp;ldquo;how does it perform?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;This question can actually be broken into two components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How long does it take to move the virtual machine storage?&lt;/li&gt;
&lt;li&gt;How does performing a storage migration effect the rest of the system?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s tackle these sections separately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First up &amp;ndash; how long does it take to move the virtual machine?&lt;/p&gt;
&lt;p&gt;As&lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/14/how-does-storage-migration-actually-work.aspx"&gt; I have discussed&lt;/a&gt;, at the core of storage migration is the combination of a single file copy of the virtual hard disk that is being moved, combined with duplicating incoming virtual hard disk writes.&amp;nbsp; This approach means that the actual length of the storage migration depends on the amount of activity that is happening inside the virtual machine.&amp;nbsp; The more data the virtual machine is writing to its storage, the longer the storage migration will take.&amp;nbsp; For a virtual machine that is mostly idle (with little disk activity) the amount time that it takes to complete a storage migration is going to be similar to the amount of time it takes to perform an &lt;strong&gt;unbuffered &lt;/strong&gt;copy of the same files.&lt;/p&gt;
&lt;p&gt;I highlighted the word &amp;ldquo;unbuffered&amp;rdquo; because most of the time people perform buffered file copies.&amp;nbsp; If you just copy a file in Windows explorer &amp;ndash; you are doing a buffered file copy.&amp;nbsp; These copies tend to be faster, but they utilize more system resources to do so, and are not recommended when copying very large files.&amp;nbsp; You can do an unbuffered file copy manually in Windows by using the command &lt;strong&gt;XCOPY /J&lt;/strong&gt;.&amp;nbsp; This should give you a good idea of the amount of time that will be involved in using storage migration.&lt;/p&gt;
&lt;p&gt;Now for the second part &amp;ndash; how does performing a storage migration effect the rest of the system?&lt;/p&gt;
&lt;p&gt;Assuming that you are migrating your storage to a new physical disk (or a separate SAN or SMB share) the impact is surprisingly small.&lt;/p&gt;
&lt;p&gt;If you imagine a running virtual machine, with reads and writes happening to its virtual hard disks, storage migration will add the following activity:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data is being read from the source virtual hard disks and written to the destination virtual hard disks.&amp;nbsp; The extra read activity on the source virtual hard disks will effect the overall performance of the virtual machine, but the write activity will be happening on a different device.&lt;/li&gt;
&lt;li&gt;New writes are being sent to both the source and destination virtual hard disks.&amp;nbsp; This has very little impact at all, as the duplicated writes are happening to a different disk.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With all of that said &amp;ndash; the performance impact of a storage migration is pretty bad &lt;strong&gt;if you migrate to another location on the same disk&lt;/strong&gt;.&amp;nbsp; If you think through this scenario (storage migration with a source and destination location on the same physical device) you will essentially be doubling the write operations on the disk, and performing a large unbuffered file copy at the same time.&lt;/p&gt;
&lt;p&gt;All this to say &amp;ndash; if you are interested in assessing the performance of storage migration &amp;ndash; do not test it with a storage migration where the source and destination locations are on the same physical disk.&amp;nbsp; Instead, use it like it is intended to be used and storage migrate between separate physical devices.&lt;/p&gt;
&lt;p&gt;Cheers, &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10296676" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category></item><item><title>Performing bulk configuration changes with PowerShell in Hyper-V on Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/16/performing-bulk-configuration-changes-with-powershell-in-hyper-v-on-windows-8.aspx</link><pubDate>Tue, 17 Apr 2012 06:11:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10294363</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10294363</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/16/performing-bulk-configuration-changes-with-powershell-in-hyper-v-on-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/16/performing-bulk-configuration-changes-with-powershell-in-hyper-v-on-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Over the weekend I noticed that one of my Hyper-V servers was running tight on memory.&amp;#160; I did not want to move any of the virtual machines off of the server – so I decided to reduce the memory buffer on each of my virtual machines.&amp;#160; At first I started using the graphical user interface to change the setting on each of the virtual machines.&amp;#160; After a moment I realized that I could do this much more quickly in PowerShell by simply running &lt;strong&gt;Get-VM | Set-VMMemory –Buffer 10&lt;/strong&gt;:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3175.mem1_5F00_0B6A0ECE.png" target="_blank"&gt;&lt;img title="PowerShell cmdlet: Get-VM | Set-VMMemory -buffer 10" style="display: inline; background-image: none;" border="0" alt="PowerShell cmdlet: Get-VM | Set-VMMemory -buffer 10" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0435.mem1_5F00_thumb_5F00_364272E0.png" width="644" height="210" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Once this was completed – I immediately jumped back into the GUI to check all my virtual machines had been updated.&amp;#160; Once again I realized that this could be done more quickly through PowerShell by running &lt;strong&gt;Get-VM | Get-VMMemory | ft VMName, Buffer&lt;/strong&gt;:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5238.mem2_5F00_0AFDDBD9.png" target="_blank"&gt;&lt;img title="PowerShell cmdlet: Get-VM | Get-VMMemory | ft VMName, Buffer" style="display: inline; background-image: none;" border="0" alt="PowerShell cmdlet: Get-VM | Get-VMMemory | ft VMName, Buffer" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0042.mem2_5F00_thumb_5F00_1CDA6FA6.png" width="644" height="209" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, normally PowerShell cmdlets do not return results just to confirm that things actually succeeded (they only display error messages).&amp;#160; But if you are paranoid like me – you can get a command to display an output by using the “passthru” option like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4744.mem3_5F00_0A91A8E4.png" target="_blank"&gt;&lt;img title="PowerShell cmdlet: Get-VM | Set-VMMemory -buffer 10 -passthru | ft VMName, Buffer" style="display: inline; background-image: none;" border="0" alt="PowerShell cmdlet: Get-VM | Set-VMMemory -buffer 10 -passthru | ft VMName, Buffer" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7701.mem3_5F00_thumb_5F00_4A5B8F69.png" width="644" height="212" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10294363" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Updating PowerShell help on Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/09/updating-powershell-help-on-windows-8.aspx</link><pubDate>Mon, 09 Apr 2012 17:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10291798</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10291798</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/09/updating-powershell-help-on-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/08/updating-powershell-help-on-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;If you are evaluating the new Hyper-V PowerShell cmdlets in the Windows “8” beta – you may have noticed that the help is a bit bare.&amp;#160; Here you can see what you get if you run “get-help” on the Set-VMDvdDrive cmdlet:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0268.PowerShell_2D00_help_2D00_1_5F00_521E75FE.png"&gt;&lt;img title="PowerShell help 1" style="display: inline; background-image: none;" border="0" alt="PowerShell help 1" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3718.PowerShell_2D00_help_2D00_1_5F00_thumb_5F00_75D79D98.png" width="644" height="351" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Just the parameter names and nothing else.&lt;/p&gt;  &lt;p&gt;But there are two important things to know:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;We do have quite detailed help available – even though this is only a beta release.&lt;/li&gt;    &lt;li&gt;It is quite easy to get the full help&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;All you need to do is to open an administrative PowerShell prompt and run “update-help”.&amp;#160; Here you can see the extra details that are available after running this command:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5050.PowerShell_2D00_help_2D00_2_5F00_2358BD5C.png"&gt;&lt;img title="PowerShell help 2" style="display: inline; background-image: none;" border="0" alt="PowerShell help 2" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2804.PowerShell_2D00_help_2D00_2_5F00_thumb_5F00_6322A3E1.png" width="644" height="351" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can also get access to examples after doing this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3487.PowerShell_2D00_help_2D00_3_5F00_14AE1177.png"&gt;&lt;img title="PowerShell help 3" style="display: inline; background-image: none;" border="0" alt="PowerShell help 3" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6433.PowerShell_2D00_help_2D00_3_5F00_thumb_5F00_30529D6D.png" width="644" height="351" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Personally, I find that I often look at the examples to remind myself how to use a specific cmdlet.&amp;#160; What makes this a bit pathetic is that half the time I am looking up examples that I wrote myself :)&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10291798" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Doing an advanced Storage Migration with Windows “8” - in PowerShell</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/03/doing-an-advanced-storage-migration-with-windows-8-in-powershell.aspx</link><pubDate>Tue, 03 Apr 2012 16:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10290156</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10290156</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/03/doing-an-advanced-storage-migration-with-windows-8-in-powershell.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/03/doing-an-advanced-storage-migration-with-windows-8-in-powershell.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Yesterday I showed you how to perform an &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/02/doing-an-advanced-storage-migration-with-windows-8.aspx" target="_blank"&gt;advanced storage migration&lt;/a&gt; with Windows “8” using the graphical user interface.&amp;#160; Today I want to show you how to do the same thing in PowerShell.&lt;/p&gt;  &lt;p&gt;Just like when we did a &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/13/using-powershell-to-storage-migrate-with-windows-server-8.aspx" target="_blank"&gt;simple storage migration in PowerShell&lt;/a&gt; – you use the &lt;strong&gt;Move-VMStorage&lt;/strong&gt; command.&amp;#160; But instead of providing a single location (via the &lt;strong&gt;DestinationStoragePath &lt;/strong&gt;parameter) you will need to provide the new location for each part of the virtual machine that you want to move.&amp;#160; You can use the &lt;strong&gt;VirtualMachinePath&lt;/strong&gt;, &lt;strong&gt;SnapshotFilePath&lt;/strong&gt; and &lt;strong&gt;SmartPagingFilePath&lt;/strong&gt; parameters to specify the new location for the virtual machine configuration file, snapshot configuration files and the smart paging file respectively.&lt;/p&gt;  &lt;p&gt;However, where things get tricky is when you want to specify new locations for the virtual hard disks.&amp;#160; The problem is that a virtual machine may have 1 virtual hard disk, or dozens of virtual hard disks, and PowerShell does not provide a simple way to handle an arbitrarily changing set of parameters.&amp;#160; We spent a lot of time trying to figure out how to handle this – and ended up with a solution where we use an array of hash tables to specify the new location for the virtual hard disks.&lt;/p&gt;  &lt;p&gt;Let me explain in detail:&lt;/p&gt;  &lt;p&gt;Imagine that you had a virtual machine with three virtual hard disks that you wanted to move to different locations.&amp;#160; The virtual hard disk names, locations and new locations were as follows:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="400" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="133"&gt;&lt;strong&gt;&lt;u&gt;VHDX name&lt;/u&gt;&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="133"&gt;&lt;strong&gt;&lt;u&gt;Current location&lt;/u&gt;&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="133"&gt;&lt;strong&gt;&lt;u&gt;New Location&lt;/u&gt;&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;Boot.vhdx&lt;/td&gt;        &lt;td valign="top" width="133"&gt;C:\TheWrongPlace&lt;/td&gt;        &lt;td valign="top" width="133"&gt;D:\VHDs&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;Data1.vhdx&lt;/td&gt;        &lt;td valign="top" width="133"&gt;C:\TheWrongPlace&lt;/td&gt;        &lt;td valign="top" width="133"&gt;E:\VHDs&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="133"&gt;Data2.vhdx&lt;/td&gt;        &lt;td valign="top" width="133"&gt;C:\TheWrongPlace&lt;/td&gt;        &lt;td valign="top" width="133"&gt;F:\VHDs&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;To move these files you would need to construct a hash table for each one.&amp;#160; Like this:&lt;/p&gt;  &lt;p&gt;@{“SourceFilePath” = “C:\TheWrongPlace\Boot.vhdx”; “DestinationFilePath” = “D:\VHDs\Boot.vhdx”}    &lt;br /&gt;@{“SourceFilePath” = “C:\TheWrongPlace\Data1.vhdx”; “DestinationFilePath” = “E:\VHDs\Data1.vhdx”}     &lt;br /&gt;@{“SourceFilePath” = “C:\TheWrongPlace\Data2.vhdx”; “DestinationFilePath” = “F:\VHDs\Data2.vhdx”}&lt;/p&gt;  &lt;p&gt;You would then need to put all of these hash tables into an array and pass them to &lt;strong&gt;Move-VMStorage&lt;/strong&gt; on the &lt;strong&gt;VHDs&lt;/strong&gt; parameter.&amp;#160; Which would look like this:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Move-VMStorage –VMName “Test” –VHDs&lt;/strong&gt; &lt;strong&gt;@(@{“SourceFilePath” = “C:\TheWrongPlace\Boot.vhdx”; “DestinationFilePath” = “D:\VHDs\Boot.vhdx”}, @{“SourceFilePath” = “C:\TheWrongPlace\Data1.vhdx”; “DestinationFilePath” = “E:\VHDs\Data1.vhdx”}, @{“SourceFilePath” = “C:\TheWrongPlace\Data2.vhdx”; “DestinationFilePath” = “F:\VHDs\Data2.vhdx”})&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Pay special attention to the following details:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The array uses round brackets “()” while the hash table uses curly brackets “{}”&lt;/li&gt;    &lt;li&gt;The array is comma separated, while the hash table is semicolon delineated&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;With all of that in mind – here is the PowerShell command to perform the same operation that I showed you yesterday in the graphical user interface:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4152.sm6_5F00_687FB18F.png" target="_blank"&gt;&lt;img title="PowerShell command for an advanced storage migration" style="display: inline; background-image: none;" border="0" alt="Move-VMStorage &amp;quot;Windows Server 8 - Spaces test 1&amp;quot; -SnapshotFilePath &amp;quot;C:\Foo&amp;quot; -VHDs @(@{&amp;quot;SourceFilePath&amp;quot; = &amp;quot;D:\Hyper-V\Virtual Hard Disks\3tb - 1.vhdx&amp;quot;; &amp;quot;DestinationFilePath&amp;quot; = C:\Foo\3tb - 1.vhdx&amp;quot;}, @{&amp;quot;SourceFilePath&amp;quot; = &amp;quot;D:\Hyper-V\Virtual Hard Disks\3tb - 2.vhdx&amp;quot;; &amp;quot;DestinationFilePath&amp;quot; = C:\Foo\3tb - 2.vhdx&amp;quot;})" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6708.sm6_5F00_thumb_5F00_28499815.png" width="644" height="132" /&gt;&amp;#160;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Specifically – it moves the snapshot location and two of the virtual hard disks for the virtual machine “Windows Server 8 – Spaces test 1”.&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10290156" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Doing an advanced Storage Migration with Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/02/doing-an-advanced-storage-migration-with-windows-8.aspx</link><pubDate>Mon, 02 Apr 2012 16:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10289860</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10289860</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/02/doing-an-advanced-storage-migration-with-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/04/02/doing-an-advanced-storage-migration-with-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;A little while ago, I showed you how to do a &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/12/doing-a-simple-storage-migration-with-windows-server-8.aspx" target="_blank"&gt;simple storage migration&lt;/a&gt; with the Windows “8” beta release.&amp;#160; Today I want to show you how to use some of the more advanced options of storage migration.&amp;#160; With a simple storage migration you select to move all of the files that make up a virtual machine to a single folder:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3201.sm1_5F00_7A12F43E.png" target="_blank"&gt;&lt;img title="Storage Migration Wizard Screenshot" style="display: inline; background-image: none;" border="0" alt="Choose Move Options Wizard Page" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2627.sm1_5F00_thumb_5F00_12A2918F.png" width="722" height="544" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;But, you can also select to move all the bits of the virtual machine to different locations.&amp;#160; You can see that once I select this option – the wizard just added a lot of new options for me to configure (if you look at the list on the left):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6431.sm2_5F00_247F255C.png" target="_blank"&gt;&lt;img title="Storage Migration Wizard Screenshot" style="display: inline; background-image: none;" border="0" alt="Choosing the advanced option" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3782.sm2_5F00_thumb_5F00_793A8E54.png" width="722" height="544" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The first thing you can do is select the specific bits of the virtual machine you want to move.&amp;#160; You can move everything to different locations, move just one part of the virtual machine, or move a combination.&amp;#160; In this case – I am moving two of the 7 virtual hard disks associated with this virtual machine, and I am changing the snapshot location for the virtual machine.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6428.sm3_5F00_0B172222.png" target="_blank"&gt;&lt;img title="Storage Migration Wizard Screenshot" style="display: inline; background-image: none;" border="0" alt="Select Items to Move" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7827.sm3_5F00_thumb_5F00_1CF3B5EF.png" width="722" height="544" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For each item that you want to move, you then get an individual page that shows you the details about the current location of the file and lets you specify a new location.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0564.sm4_5F00_5CBD9C74.png" target="_blank"&gt;&lt;img title="Storage Migration Wizard Screenshot" style="display: inline; background-image: none;" border="0" alt="Specifying the new location for a virtual hard disk" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5367.sm4_5F00_thumb_5F00_038BB2B5.png" width="722" height="544" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;When you get to the end – a summary page shows you everything that you have configured.&amp;#160; Hitting finish will go ahead and move all the pieces to the right location.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/8004.sm5_5F00_58471BAD.png" target="_blank"&gt;&lt;img title="Storage Migration Wizard Screenshot" style="display: inline; background-image: none;" border="0" alt="Summary of wizard options" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1641.sm5_5F00_thumb_5F00_7F1531ED.png" width="722" height="544" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10289860" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Cleaning up after VM upgrade with PowerShell in Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/27/cleaning-up-after-vm-upgrade-with-powershell-in-windows-8.aspx</link><pubDate>Tue, 27 Mar 2012 23:14:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10288237</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10288237</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/27/cleaning-up-after-vm-upgrade-with-powershell-in-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/27/cleaning-up-after-vm-upgrade-with-powershell-in-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Sometimes little things bug me.&amp;#160; Often – while these little things are annoying, it is too much effort to actually fix them.&amp;#160; Thankfully – Hyper-V PowerShell gives me an easy way to “fix small annoyances” quickly.&amp;#160; One example for a “little thing that bugs me” occurs when you &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/05/updating-integration-services-in-windows-server-8.aspx" target="_blank"&gt;upgrade the integration services&lt;/a&gt; for a virtual machine: we do not eject the integration services ISO file when we are done.&lt;/p&gt;  &lt;p&gt;The result is that I end up with a bunch of virtual machines with this DVD in their DVD drives.&amp;#160; There is no real downside to this – but it is annoying.&lt;/p&gt;  &lt;p&gt;The other day I sat down and figured out a PowerShell one-liner that would check all my virtual machines and would eject the DVD – only if it was the integration services installation DVD image.&amp;#160; Here it is:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New"&gt;get-vm | get-vmdvddrive | %{if($_.path -eq &amp;quot;$env:windir\system32\vmguest.iso&amp;quot;) {Set-VMDVDDrive -VMDVDDrive $_ -Path $null}}&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;It gets each virtual machine, gets the DVD drives assocciated with each virtual machine and then removes the DVD image if it is the integration services DVD image.&lt;/p&gt;  &lt;p&gt;Nice and simple – and now I am much happier with the state of my system.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10288237" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Option to remove .BIN files with Hyper-V in Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/26/option-to-remove-bin-files-with-hyper-v-in-windows-8.aspx</link><pubDate>Mon, 26 Mar 2012 20:24:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10287744</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10287744</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/26/option-to-remove-bin-files-with-hyper-v-in-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/26/option-to-remove-bin-files-with-hyper-v-in-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;In Windows Server 2008 and Windows Server 2008 R2 – starting a virtual machine would result in Hyper-V creating a .BIN file which matched the size of the memory assigned to the virtual machine.&amp;#160; We did this to ensure that we always had enough disk space available to create a saved state (which is particularly critical if the physical computer is shutting down – and the virtual machine is configured to save state when the physical computer shuts down).&lt;/p&gt;  &lt;p&gt;However – many people did not like to see their disk space being “wasted” like this.&amp;#160; As we have seen memory increase in physical computers – we have started to see systems come out that have more memory than disk space, which obviously causes a problem here.&lt;/p&gt;  &lt;p&gt;To address this in Windows “8” we made a simple change:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2570.image_5F00_48492D05.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3162.image_5F00_thumb_5F00_27C1ED53.png" width="513" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now we only pre-create the .BIN file if you choose &lt;strong&gt;Save the virtual machine state &lt;/strong&gt;as the &lt;strong&gt;Automatic Stop Action&lt;/strong&gt; for the virtual machine.&amp;#160; If you choose &lt;strong&gt;Turn off the virtual machine &lt;/strong&gt;or &lt;strong&gt;Shut down the guest operating system &lt;/strong&gt;we will only create a .BIN file if you manually choose to save state the virtual machine.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10287744" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>New networking tab on Hyper-V Manager in Windows “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/19/new-networking-tab-on-hyper-v-manager-in-windows-8.aspx</link><pubDate>Mon, 19 Mar 2012 16:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10284465</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10284465</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/19/new-networking-tab-on-hyper-v-manager-in-windows-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/19/new-networking-tab-on-hyper-v-manager-in-windows-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Here is another small feature that I have fallen in love with in Hyper-V in Windows “8”.&amp;#160; When you open the Hyper-V manager you will see that we have added some extra tabs to the bottom of the virtual machine status.&amp;#160; One of the tabs is labeled &lt;strong&gt;Networking&lt;/strong&gt;:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7713.image_5F00_5BA01AFC.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6330.image_5F00_thumb_5F00_6D7CAEC9.png" width="644" height="458" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;On this tab you can see how many network adapters a virtual machine has and which virtual switches they are connected to.&amp;#160; Be far more importantly – you can see the IP addresses that are being used by the virtual machine.&amp;#160; It wasn’t until I had spent some time using Windows “8” that I realized how often I would log into a virtual machine – just to run ipconfig and figure out its IP address.&amp;#160; Now I can get this quickly at a glance.&lt;/p&gt;  &lt;p&gt;Note – in order for this to work you must have the &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/05/updating-integration-services-in-windows-server-8.aspx" target="_blank"&gt;latest version of the integration services loaded inside the virtual machine&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10284465" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Lots of Windows Server “8” information</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/16/lots-of-windows-server-8-information.aspx</link><pubDate>Fri, 16 Mar 2012 23:23:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10284454</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10284454</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/16/lots-of-windows-server-8-information.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/16/lots-of-windows-server-8-information.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;This has been a busy week for Microsoft talking about Windows Server “8” – so I wanted to take a moment to call some interesting information to your attention.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The new Windows Server “8” Beta Hyper-V Component Architecture poster is now available from the &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=29189"&gt;Microsoft Download Center.        &lt;br /&gt;&lt;/a&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?id=29189"&gt;&lt;img title="Windows Server 8 Beta Hyper-V Component Architecture" border="0" alt="Windows Server 8 Beta Hyper-V Component Architecture" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-50-45-metablogapi/2211.Windows_2D00_Server_2D00_8_2D00_Beta_2D00_Hyper_2D00_V_2D00_Component_2D00_Architecture_5F00_0FEF9E6A.jpg" width="610" height="337" /&gt;&lt;/a&gt;      &lt;br /&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;Information about Hyper-V Replica is coming out on the Windows Virtualization team blog:      &lt;br /&gt;&lt;a title="http://blogs.technet.com/b/virtualization/archive/tags/hvr/" href="http://blogs.technet.com/b/virtualization/archive/tags/hvr/"&gt;http://blogs.technet.com/b/virtualization/archive/tags/hvr/&lt;/a&gt;      &lt;br /&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;John Howard has been doing a great series of posts talking about the use of SR-IOV in Hyper-V in Windows Server “8”.&amp;#160; You can start reading about it here:      &lt;br /&gt;&lt;a title="Everything you wanted to know about SR-IOV in Hyper-V. Part 1" href="http://blogs.technet.com/b/jhoward/archive/2012/03/12/everything-you-wanted-to-know-about-sr-iov-in-hyper-v-part-1.aspx"&gt;Everything you wanted to know about SR-IOV in Hyper-V. Part 1&lt;/a&gt;      &lt;br /&gt;      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;The Windows Server blog has a great post talking about a bunch of the new technology coming for Windows File Shares (including the fact that we now support running virtual machines that are stored on Windows file shares):      &lt;br /&gt;&lt;a title="Windows Server “8” – Taking Server Application Storage to Windows File Shares" href="http://blogs.technet.com/b/windowsserver/archive/2012/03/15/windows-server-8-taking-server-application-storage-to-windows-file-shares.aspx"&gt;Windows Server “8” – Taking Server Application Storage to Windows File Shares&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;And of course – there is much more to come!&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10284454" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Storage Migration + PowerShell + Windows “8” = Magic</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/15/storage-migration-powershell-windows-8-magic.aspx</link><pubDate>Thu, 15 Mar 2012 19:10:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10283859</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10283859</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/15/storage-migration-powershell-windows-8-magic.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/15/storage-migration-powershell-windows-8-magic.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Here is a neat trick that we figured out a little while ago.&amp;#160; With a single command you can organize all of your virtual machines:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0172.image_5F00_490027A6.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5140.image_5F00_thumb_5F00_68AF016E.png" width="644" height="286" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The command is:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Get-VM | %{ Move-VMStorage $_.Name &amp;quot;D:\Hyper-V\$($_.Name)&amp;quot; }&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This command gets each virtual machine on the server, and then performs a storage migration to move it to a folder under “D:\Hyper-V” that has the same name as the virtual machine itself.&amp;#160; It is amazing how powerful such a simple command can be, and it has become a staple tool for me to clean up a server that I have been messing around with virtual machine placement on.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10283859" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>How does Storage Migration actually work?</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/14/how-does-storage-migration-actually-work.aspx</link><pubDate>Wed, 14 Mar 2012 16:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10282635</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10282635</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/14/how-does-storage-migration-actually-work.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/14/how-does-storage-migration-actually-work.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Now that I have showed you how to perform a storage migration of a running virtual machine in Windows Server “8” (both through Hyper-V manager and through PowerShell) an obvious question you might have is: but how does this actually all work?&lt;/p&gt;  &lt;p&gt;The process followed by Hyper-V internally to perform a storage migration is actually quite simple to explain (though obviously quite tricky to actually make work in code) and is as follows:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; We start with a virtual machine that is reading and writing to a virtual hard disk file (.VHDX in the diagram, but storage migration is supported for both .VHDX and .VHD files).&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1351.image_5F00_122C80A6.png" width="458" height="506" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2: &lt;/strong&gt;After the user selects to perform a storage migration, we immediately create a new virtual hard disk in the requested destination.&amp;#160; We continue to read and write to the source virtual hard disk – but any new write operations are also mirrored to the new virtual hard disk.&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7624.image_5F00_11C04DB1.png" width="566" height="500" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;We perform a single single pass operation to copy the data from the source virtual hard disk to the destination virtual hard disk.&amp;#160; While this copy is happening we still continue to mirror writes to both disks.&amp;#160; We also keep track of uncopied blocks that have already been updated through a mirrored write – and make sure to not needlessly copy that data again.&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0383.image_5F00_4A6AF7BE.png" width="566" height="500" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Once the copy operation is complete – we switch the virtual machine to be running only on the destination virtual hard disk.&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1263.image_5F00_1807243F.png" width="566" height="500" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 5:&lt;/strong&gt; We delete the source virtual hard disk and the migration is now complete.&lt;/p&gt;  &lt;p&gt;&lt;img title="image" style="border: 0px currentcolor; margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1856.image_5F00_7E32EE0F.png" width="458" height="506" /&gt;&lt;/p&gt;  &lt;p&gt;One important note to make here – we are very careful to not delete the source virtual hard disk until after the virtual machine is successfully running on the destination virtual hard disk.&amp;#160; This way if there is an error at any point in the storage migration – we can always fail back to running off of the source virtual hard disk.&lt;/p&gt;  &lt;p&gt;Cheers,    &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10282635" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Using PowerShell to Storage Migrate with Windows Server “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/13/using-powershell-to-storage-migrate-with-windows-server-8.aspx</link><pubDate>Tue, 13 Mar 2012 16:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10281859</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10281859</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/13/using-powershell-to-storage-migrate-with-windows-server-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/13/using-powershell-to-storage-migrate-with-windows-server-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/12/doing-a-simple-storage-migration-with-windows-server-8.aspx" target="_blank"&gt;Yesterday&lt;/a&gt; I showed you how to do a simple storage migration using the Hyper-V Manager user interface.&amp;#160; Today I want to show you how to do the same thing in PowerShell – and in my opinion it is even easier to do in PowerShell than with our user interface.&lt;/p&gt;  &lt;p&gt;As a quick reminder – I am not showing you the complex side of storage migration (yet) I am just showing you how to accomplish the task of getting all the bits for a given virtual machine moved to a single folder, while the virtual machine continues to run.&amp;#160; The PowerShell command for this is actually quite self explanatory:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Move-VMStorage -VMName &amp;quot;Windows Server 2008 R2&amp;quot; -DestinationStoragePath &amp;quot;E:\Hyper-V\Windows Server 2008 R2&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1667.image_5F00_43067E40.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5875.image_5F00_thumb_5F00_5476DF18.png" width="644" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;“Move-VMStorage”, the name of the virtual machine you want to move, and the name of the folder you want to move it to.&amp;#160; Couldn’t be much simpler than that right?&amp;#160; Well, actually it can.&amp;#160; You see, the “-VMName” and “-DestinationStoragePath” parameter names are not required.&amp;#160; You can actually just type this:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Move-VMStorage &amp;quot;Windows Server 2008 R2&amp;quot; &amp;quot;D:\Hyper-V\Windows Server 2008 R2&amp;quot;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6064.image_5F00_665372E5.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6038.image_5F00_thumb_5F00_261D596B.png" width="644" height="140" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Trust me, the first time you get to show this to someone who thinks that PowerShell is too complicated / tricky – you will feel like a rock star :-)&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10281859" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Doing a simple Storage Migration with Windows Server “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/12/doing-a-simple-storage-migration-with-windows-server-8.aspx</link><pubDate>Mon, 12 Mar 2012 16:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10281243</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10281243</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/12/doing-a-simple-storage-migration-with-windows-server-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/12/doing-a-simple-storage-migration-with-windows-server-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;One of the new features for Hyper-V in the Windows Server “8” beta release is called storage migration.&amp;#160; This feature allows you to move all the files that make up a virtual machine to a new location, while the virtual machine continues to run. Neat!&lt;/p&gt;  &lt;p&gt;Now, I could (quite literally) write a small tome about everything there is to know about storage migration, but I am not going to.&amp;#160; Instead I am going to tackle it one piece at a time.&amp;#160; First, let me show you what the simplest storage migration process looks like in Hyper-V today.&lt;/p&gt;  &lt;p&gt;First you find your virtual machine in the Hyper-V Manager and then you select &lt;strong&gt;Move…&lt;/strong&gt; from the action pane (or you can right click on the virtual machine and choose &lt;strong&gt;Move… &lt;/strong&gt;from the menu there):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/7217.image_5F00_65885845.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3005.image_5F00_thumb_5F00_6BCF2ED3.png" width="644" height="358" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This will open the new &lt;strong&gt;Move Wizard&lt;/strong&gt;.&amp;#160; After going through the introduction page you will be asked to choose the type of move you want to perform.&amp;#160; If you are running Windows Server “8” you can choose to either do a live migration of the virtual machine, or a storage migration of the virtual machines data.&amp;#160; We only support live migration on Windows Server “8”, while storage migration is supported on Windows Server “8” and the Windows Consumer Preview.&amp;#160; This means that if you are running Hyper-V on your desktop (as I am doing here) you will only see the option to move the virtual machines storage:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4571.image_5F00_3D75A926.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0358.image_5F00_thumb_5F00_0AA5A2B2.png" width="642" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After choosing &lt;strong&gt;Move the virtual machine’s storage &lt;/strong&gt;you will be presented with three options.&amp;#160; Today I am just going to show you how to do the first, and simplest, option where you select to &lt;strong&gt;Move all of the virtual machine’s data to a single location&lt;/strong&gt;.&amp;#160; I mean, it does not get much simpler than that – right?&amp;#160; “Put all my stuff over there!”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3326.image_5F00_5C4C1D04.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2818.image_5F00_thumb_5F00_69B2300A.png" width="642" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Logically, after selecting to put all the virtual machine bits in a single location – we ask you for the location to use.&amp;#160; We also show you how much space the virtual machine is using at this point in time (my virtual machine is using 8.44GB in this example) so you can make sure that you choose a destination location with enough space.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1030.image_5F00_54547AA2.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6131.image_5F00_thumb_5F00_61BA8DA8.png" width="642" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Finally, we show you a summary of what is about to happen.&amp;#160; When you click finish the storage migration will begin.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2402.image_5F00_6F20A0AE.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0456.image_5F00_thumb_5F00_39A7DE89.png" width="642" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Once the storage migration has started you can track its progress in a couple of ways.&amp;#160; You can use the progress dialog that is displayed over the Move wizard (which will remain until the storage migration is complete).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6138.image_5F00_6728FE4C.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3173.image_5F00_thumb_5F00_5F9D8EDF.png" width="642" height="484" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Or you can view the detailed status in the Hyper-V Manager:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/3482.image_5F00_0D1EAEA3.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/4555.image_5F00_thumb_5F00_2C615576.png" width="644" height="316" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Using the Hyper-V Manager is very handy when you have multiple storage migrations happening at the same point in time:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1016.image_5F00_7E07CFC8.png"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6710.image_5F00_thumb_5F00_24D5E609.png" width="644" height="196" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As you can see – this is very easy to do.&amp;#160; Tomorrow I will talk about how to perform a simple storage migration with PowerShell, and then we can start diving into the deeper aspects / options of storage migration.&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10281243" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>System Center 2012 CTP for Windows Server “8” Beta support now available</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/system-center-2012-ctp-for-windows-server-8-beta-support-now-available.aspx</link><pubDate>Sat, 10 Mar 2012 02:09:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10280720</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10280720</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/system-center-2012-ctp-for-windows-server-8-beta-support-now-available.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/system-center-2012-ctp-for-windows-server-8-beta-support-now-available.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;This is really cool.&amp;#160; Last week we announced to availability of the Windows Server “8” beta, and today the System Center team have release a Community Technology Preview (CTO) of System Center 2012 that allows you to manage Hyper-V in Windows Server “8”.&lt;/p&gt;  &lt;p&gt;Go here to read all the details:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/b/scvmm/archive/2012/03/10/system-center-2012-ctp-for-windows-server-8-beta-support-now-available.aspx"&gt;http://blogs.technet.com/b/scvmm/archive/2012/03/10/system-center-2012-ctp-for-windows-server-8-beta-support-now-available.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10280720" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/SCVMM/">SCVMM</category></item><item><title>Using PowerShell to mount virtual hard disks in Windows Server “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/using-powershell-to-mount-virtual-hard-disks-in-windows-server-8.aspx</link><pubDate>Sat, 10 Mar 2012 00:42:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10280701</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10280701</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/using-powershell-to-mount-virtual-hard-disks-in-windows-server-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:0px 0px 0px 0px;"&gt;&lt;script type="text/javascript"&gt; tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/09/using-powershell-to-mount-virtual-hard-disks-in-windows-server-8.aspx'; &lt;/script&gt; &lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;Yesterday I showed you how easy it is to mount virtual hard disks with Windows Explorer in Windows Server “8”.&amp;#160; But what if you want to script it? Don’t worry, we have you covered.&lt;/p&gt;  &lt;p&gt;First – we have the very simple &lt;strong&gt;Mount-VHD &lt;/strong&gt;command that allows you to mount a virtual hard disk.&amp;#160; But we can do better than that!&amp;#160; One of the most common questions about scripting virtual hard disk mount is: “How do I find out the drive letter that has been assigned to the virtual hard disk?”.&lt;/p&gt;  &lt;p&gt;Well, you can do this in Windows Server “8” by running: &lt;strong&gt;Mount-VHD &amp;lt;VHD name&amp;gt; –passthru | Get-Disk | Get-Partition | Get-Volume&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Which will give you something like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/6648.image_5F00_090E1B8C.png" target="_blank"&gt;&lt;img title="image" style="display: inline; background-image: none;" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/5165.image_5F00_thumb_5F00_48D80211.png" width="644" height="307" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Cheers,   &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10280701" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item><item><title>Mounting virtual hard disks in Windows Server “8”</title><link>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/08/mounting-virtual-hard-disks-in-windows-server-8.aspx</link><pubDate>Fri, 09 Mar 2012 07:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10280274</guid><dc:creator>Ben Armstrong [MSFT]</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/virtual_pc_guy/rsscomments.aspx?WeblogPostID=10280274</wfw:commentRss><comments>http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/08/mounting-virtual-hard-disks-in-windows-server-8.aspx#comments</comments><description>&lt;div class="wlWriterHeaderFooter" style="float: none; margin: 0px; padding: 0px 0px 0px 0px;"&gt;
&lt;script type="text/javascript"&gt;// &lt;![CDATA[
 tweetmeme_url = 'http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/03/08/mounting-virtual-hard-disks-in-windows-server-8.aspx'; 
// ]]&gt;&lt;/script&gt;
&lt;script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;p&gt;I have done many posts &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/02/01/mounting-a-virtual-hard-disk-with-hyper-v.aspx" target="_blank"&gt;over&lt;/a&gt; &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2009/11/11/double-click-to-mount-a-virtual-hard-disk-windows-7-style.aspx" target="_blank"&gt;the&lt;/a&gt; &lt;a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2009/02/05/mounting-vhds-with-windows-7.aspx" target="_blank"&gt;years&lt;/a&gt; about how to mount virtual hard disks under various releases of Windows.&amp;nbsp; Windows Server &amp;ldquo;8&amp;rdquo; makes this the easiest possible thing to do.&amp;nbsp; To mount a virtual hard disk &amp;ndash; just find your .VHD or .VHDX file and double click on it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/0247.image_5F00_0425FB14.png"&gt;&lt;img width="644" height="371" title="image" style="display: inline; background-image: none;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2388.image_5F00_thumb_5F00_313AE7E2.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The virtual hard disk will be mounted, and you will automatically be directed to the first partition on the virtual hard disk:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/1715.image_5F00_5C134BF4.png" target="_blank"&gt;&lt;img width="644" height="369" title="image" style="display: inline; background-image: none;" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-41-22-metablogapi/2308.image_5F00_thumb_5F00_1BDD327A.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here you can easily copy / move / manipulate files.&amp;nbsp; When you are done, just choose to eject the disk (shown in the picture above).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Note: &lt;/strong&gt;You do need to enable the desktop experience in order to get this experience with Windows Explorer.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Cheers, &lt;br /&gt;Ben&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10280274" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+Server+8/">Windows Server 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/virtual_pc_guy/archive/tags/Hyper_2D00_V/">Hyper-V</category></item></channel></rss>
