<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thomas Maurer (tm) &#187; VM</title>
	<atom:link href="http://www.thomasmaurer.ch/tag/vm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:10:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hyper-V 3: Import and Export VMs with PowerShell</title>
		<link>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 21:01:29 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Export-VM]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[Import-VM]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell 3]]></category>
		<category><![CDATA[Virtual machines]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=3032</guid>
		<description><![CDATA[Aidan Finn (Virtual Machine MVP) just made a blog post about Hyper-V &#38; PowerShell in Windows Server 8 and how you can enable Hyper-V via PowerShell in Windows Server 8. So this gave me the idea about doing a little &#8230; <a href="http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/" data-count="horizontal" data-text="Hyper-V 3: Import and Export VMs with PowerShell" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F12%2Fhyper-v-3-import-and-export-vms-with-powershell%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell02.png" rel="lightbox[3032]"><img class="aligncenter size-medium wp-image-3037" title="Hyper-V-Powershell02" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell02-300x149.png" alt="Hyper-V-Powershell02" width="300" height="149" /></a></p>
<p>Aidan Finn (Virtual Machine MVP) just made a <a href="http://www.aidanfinn.com/?p=11941" target="_blank">blog post</a> about Hyper-V &amp; PowerShell in Windows Server 8 and how you can enable Hyper-V via PowerShell in Windows Server 8. So this gave me the idea about doing a little more with PowerShell and Hyper-V 3.</p>
<p>I already did a<a href="http://www.thomasmaurer.ch/2011/09/hyper-v-3-attach-multiple-vhds-via-powershell/" target="_blank"> blog post about how you can attach multiple VHDs </a>to a SCSI Controller with PowerShell in Windows Server 8. In this post I will show how easy you can export and import a lot of Virtual Machines.</p>
<p>First you can run a Get-VM Test*, to check which VMs you will export.</p>
<pre>

Get-VM Test*
</pre>
<p>Now you can export the Virtual Machines</p>
<pre>

Get-VM Test* | Export-VM -Path "C:\VMs"
</pre>
<p>Now I removed the Virtual Machines in Hyper-V with Powershell (You could also add the -confirm parameter so you don&#8217;t have to press &#8220;y&#8221; for each VM.</p>
<pre>

Get-VM Test* | Remove-VM
</pre>
<p>And now you can import the Virtual Machines again</p>
<pre>

Get-Childitem "C:\VMs" -Recurse *.xml | Import-VM
</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell01.png" rel="lightbox[3032]"><img class="aligncenter size-medium wp-image-3035" title="Hyper-V-Powershell01" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/12/Hyper-V-Powershell01-300x223.png" alt="Hyper-V-Powershell01" width="300" height="223" /></a></p>
<p>I will post more about PowerShell in Windows 8 and Windows Server 8 (Hyper-V 3) in the next upcommig weeks. If you want know more about what new Hyper-V features and improvments are coming in Windows Server 8, you can read the following blog post: &#8220;<a title="Hyper-V: “Version 3 kills them all”" href="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/" target="_blank">Hyper-V: Version 3 kills them all</a>&#8221;</p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-3032"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/12/hyper-v-3-import-and-export-vms-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 8 Hyper-V Network Bandwidth Management</title>
		<link>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/</link>
		<comments>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 15:42:20 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Bandwidth Management]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2629</guid>
		<description><![CDATA[With the new version of Hyper-V which comes with Windows Server 8 Developer Preview you can now manage the Network Bandwidth with a Maximum and a Minimum value. This allows you to create some SLAs for hosted Virtual Machines. For &#8230; <a href="http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/" data-count="horizontal" data-text="Windows Server 8 Hyper-V Network Bandwidth Management" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F09%2Fwindows-server-8-hyper-v-network-bandwidth-management%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>With the new version of Hyper-V which comes with Windows Server 8 Developer Preview you can now manage the Network Bandwidth with a Maximum and a Minimum value.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Bandwidth-Management-Windows-Server-8-Hyper-V.png" rel="lightbox[2629]"><img class="aligncenter size-medium wp-image-2630" title="Bandwidth Management Windows Server 8 Hyper-V" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Bandwidth-Management-Windows-Server-8-Hyper-V-300x283.png" alt="Bandwidth Management Windows Server 8 Hyper-V" width="300" height="283" /></a></p>
<p>This allows you to create some SLAs for hosted Virtual Machines.</p>
<p>For example this is a possible scenario:</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Networking.png" rel="lightbox[2629]"><img class="aligncenter size-full wp-image-2631" title="Windows Server 8 Hyper-V Networking" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Networking.png" alt="Windows Server 8 Hyper-V Networking" width="593" height="467" /></a></p>
<p>There are a lot of other networking improvments in Windows Server 8 and Hyper-V 3. You can get some of them in my little Overview about new features in Windows Server 8 Hyper-V: <a title="Hyper-V: “Version 3 kills them all”" href="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/" target="_blank">Hyper-V: “Version 3 kills them all”</a>.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2629"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-network-bandwidth-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 8 Hyper-V Virtual Machine Replication</title>
		<link>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/</link>
		<comments>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 15:12:38 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 8]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Hyper-V Replica]]></category>
		<category><![CDATA[Move]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2636</guid>
		<description><![CDATA[One of the biggest new features in Windows Server 8 Hyper-V is Hyper-V Replica. Hyper-V Replica allows you to replicate Virtual Machines over the network to another Hyper-V Hosts. This is great if you replicate the VM to another datacenter &#8230; <a href="http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/" data-count="horizontal" data-text="Windows Server 8 Hyper-V Virtual Machine Replication" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F09%2Fwindows-server-8-hyper-v-virtual-machine-replication%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>One of the biggest <a title="Hyper-V: “Version 3 kills them all”" href="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/" target="_blank">new features in Windows Server 8 Hyper-V</a> is Hyper-V Replica. Hyper-V Replica allows you to replicate Virtual Machines over the network to another Hyper-V Hosts. This is great if you replicate the VM to another datacenter or if you don&#8217;t want to create a Hyper-V Cluster and still have the requirement to start the Virtual Machine in 30 minutes on another host.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Replica.png" rel="lightbox[2636]"><img class="aligncenter size-medium wp-image-2638" title="Windows Server 8 Hyper-V Replica" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Replica-300x220.png" alt="Windows Server 8 Hyper-V Replica" width="300" height="220" /></a></p>
<p>With the Hyper-V VM Move feature you can even push this and live migrate a Virtual Machine to another host even if you don&#8217;t have a cluster. This can be useful if you have a maintenance window on your Hyper-V hosts.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Move-VM.png" rel="lightbox[2636]"><img class="aligncenter size-medium wp-image-2637" title="Windows Server 8 Hyper-V Move VM" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/Windows-Server-8-Hyper-V-Move-VM-300x221.png" alt="Windows Server 8 Hyper-V Move VM" width="300" height="221" /></a></p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2636"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/09/windows-server-8-hyper-v-virtual-machine-replication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V: &#8220;Version 3 kills them all&#8221;</title>
		<link>http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/</link>
		<comments>http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 15:12:18 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[build8]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Clustering]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[Hyper-V 3]]></category>
		<category><![CDATA[Hypervisor]]></category>
		<category><![CDATA[Microsoft Hyper-v]]></category>
		<category><![CDATA[Microsoft Hyper-V 3]]></category>
		<category><![CDATA[Module]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell 3]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Storage Spaces]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[Windows Powershell]]></category>
		<category><![CDATA[Windows Server 8]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2537</guid>
		<description><![CDATA[Microsoft showed the latest version of Hyper-V at build conference together with Windows 8 and Windows Server 8. Microsoft showed a lot of new Hyper-V features which turn Hyper-V in really powerful hypervisor. Some days ago I posted a blog post about new features &#8230; <a href="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/" data-count="horizontal" data-text="Hyper-V: "Version 3 kills them all"" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F09%2Fhyper-v-version-3-kills-them-all%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv04.png" rel="lightbox[2537]"><img class="aligncenter size-large wp-image-2574" title="Windows Server 8 Server Manager Dashboard" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv04-1024x859.png" alt="Windows Server 8 Server Manager Dashboard" width="584" height="489" /></a></p>
<p>Microsoft showed the latest version of Hyper-V at <a href="http://www.buildwindows.com" target="_blank">build conference</a> together with Windows 8 and Windows Server 8. Microsoft showed a lot of new Hyper-V features which turn Hyper-V in really powerful hypervisor.</p>
<p>Some days ago I posted a blog post about new features which Microsoft showed before the build conference, now it&#8217;s time to extend the list of new features. There are a lot of even more powerful features than the once <a title="Awesome – Building Windows 8: Hyper-V" href="http://www.thomasmaurer.ch/2011/09/awesome-building-windows-8-hyper-v/" target="_blank">I posted back then</a>.</p>
<h1>Windows Server 8 as Cloud OS</h1>
<p>First let&#8217;s start with Windows Server 8 as the base of Microsoft Cloud strategy. Microsofts focus in Windows Server 8 was to make it easy for all to build public and private cloud solutions. There are a lot of improvements to manageability, security, scalability, extensibility, predictability and reliability which will also improve the possibilities with Hyper-V. In technical terms Microsoft made a lot of improvements how you can manage a lot of servers and services, Storage, Networking and Powershell. Of course there is a lot more, but this are the parts I think are the most important. And here are some keywords to the improvements in Windows Server 8:</p>
<ul>
<li>Storage improvements &#8211; SMB 2.2, SMB transparent Failover, Data deduplication, Storage Spaces, online filesystem repairs, 64TB NTFS volume etc.</li>
<li>NIC Teaming</li>
<li>Powershell v3 &#8211; You can now just do everything in Powershell and even more with 23000 PowerShell cmdlets.</li>
<li>Server Dashboard &#8211; The new Dashboard lets you manage all servers, or even better, all Services from one place.</li>
<li>Multi-tenant &#8211; everything seems to be made for that</li>
<li>Performance Counters</li>
</ul>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv02.png" rel="lightbox[2537]"><img class="aligncenter size-medium wp-image-2575" title="Windows Server 8 Hyper-V Manager" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv02-300x227.png" alt="Windows Server 8 Hyper-V Manager" width="300" height="227" /></a></p>
<h1>Hyper-V Host improvements</h1>
<p>Hyper-V gets not only a lot of improvements to Virtual Machine, also the Hyper-V Hosts get some new limit improvements.</p>
<ul>
<li>up to 160 logical CPUs</li>
<li>supports up to 2TB RAM</li>
<li>no more vCPU:pCPU ration limit</li>
</ul>
<h1>Hyper-V Virtual Machine improvements</h1>
<p>Microsoft did a lot to extend the existing Virtual Machine hardware to support even high workload Virtual Machines. I will not write a lot about this because the facts here will tell more that a lot of words.</p>
<ul>
<li>VHDX Format &#8211; supports up to 16TB Virtual Disks</li>
<li>32 CPUs per VM</li>
<li>512GB RAM per VM</li>
<li>Support for Fibre Channel Adapters</li>
<li>Supporting Virtual Active Directory Servers</li>
</ul>
<h1>Hyper-V Networking improvements</h1>
<p>Hyper-V got a lot of improvements in terms of networking. Microsoft realized that networking features are really important if you start to create private and public cloud scenarios and now even create a mix of public and private cloud scenarios without creating a lot of work for the IT teams to reconfigure Virtual Machines.</p>
<ul>
<li>QoS and flexible bandwidth allocation</li>
<li>Support for SR-IOV (Direct Access to the physical Network adapter)</li>
<li>Network Virtualization</li>
<li>PVLAN support</li>
<li>Dynamic Virtual Machine Queue (D-VMQ)</li>
<li>Receive Side Coalescing (RSC)</li>
<li>DHCP Guard</li>
<li>Extensible virtual switch</li>
<li>IPsec Task offload</li>
</ul>
<h1>Hyper-V Clustering improvements</h1>
<p>Hyper-V gets also a lot of Cluster improvements. But you have to be aware that Clusters are for really high availability and this adds a lot of costs to projects and solutions. Microsoft is working on Cloud solutions which will give great availability to low cost. For example Hyper-V Replica or Live Migration to another host over the Ethernet without the need for a shared storage. But if you need real HA you will need the Failover Cluster.</p>
<ul>
<li>supporting up to 4000 VMs per cluster</li>
<li>supporting up to 63 Cluster nodes</li>
<li>improved Cluster Manager Console</li>
<li>VM Monitoring &#8211; Application health detection inside the virtual machine</li>
<li>New Placement policies &#8211; Virtual Machine Priority and enhanced placement</li>
<li>Storage Live Migration</li>
<li>Hyper-V Replica supporting clustering</li>
<li>No need for Block Storage &#8211; you can use SMB Shares</li>
<li>Support for Storage Spaces</li>
<li>Automated Node Draining &#8211; like Maintenance mode in SCVMM</li>
<li>Cluster Aware Updating</li>
<li>Cluster Shared Volume Improvements &#8211; BitLocker support, a lot of performance improvements, Self-Healing</li>
<li>Live Migration Queing</li>
<li>Migrate multiple Virtual Machine at the same time</li>
</ul>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv03.png" rel="lightbox[2537]"><img class="aligncenter size-medium wp-image-2576" title="Windows Server 8 Hyper-V VM Move" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv03-300x221.png" alt="Windows Server 8 Hyper-V VM Move" width="300" height="221" /></a></p>
<h1>Hyper-V Storage improvements</h1>
<p>A I mentioned earlier Microsoft made a lot of improvements in terms of storage in Windows Server 8 and Hyper-V can take advantage of those which are quiet impressive. For example with the new features in SMB 2.2 you can now use SMB file shares to store your Virtual Machines.</p>
<ul>
<li>VHDX</li>
<li>ODX</li>
<li>RDMA</li>
<li>SMB 2.2 &#8211; Transparent Failover</li>
<li>4K native disk support</li>
<li>Data Deduplication</li>
<li>Virtual Fiber Channel</li>
<li>VM boot from SAN</li>
</ul>
<h1>Hyper-V Management Improvements</h1>
<p>As everywhere in Windows Server 8 PowerShell is the key. And the new Server Manager Dashboard Microsoft enable to create Server Groups to manage multiple servers from a single console.</p>
<ul>
<li>Powershell for Hyper-V</li>
<li>Powershell Workflows &#8211; Commands and Tasks across servers</li>
<li>Hyper-V Extensible Switch &#8211; lets vendors to create &#8220;plugins&#8221;. Could be very interesting for Cisco UCS installations.</li>
<li>Server Manager Dashboard &#8211; lets you manage multiple Hyper-V host from a single console.</li>
<li>SCVMM 2012 &#8211; not a part of Windows Server 8 but will add great management solutions</li>
</ul>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv05powershell.png" rel="lightbox[2537]"><img class="aligncenter size-medium wp-image-2578" title="Windows Server 8 Hyper-V Powershell" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/09/hyperv05powershell-247x300.png" alt="Windows Server 8 Hyper-V Powershell" width="247" height="300" /></a></p>
<h1>Hyper-V HA and Data Protection</h1>
<p>Now I think this is maybe the greatest new feature. You can now live migrate a Virtual Machine from one Hyper-V Host to another without Shared Storage or Cluster configuration. And with this option Microsoft also included a new feature called Hyper-V Replica which includes the option to replicate Virtual Machine to another host which can be hosted in the same network or even in the cloud.</p>
<ul>
<li>Live Migration</li>
<li>Live Storage Migration</li>
<li>Live Migration to another Hosts (Not clustered) over the Ethernet</li>
<li>Hyper-V Replica &#8211; Replicated Virtual Machines to another Hyper-V host on-premise or public cloud</li>
<li>BitLocker support for CSV</li>
</ul>
<p>This are not all of the new features Windows Server 8 Hyper-V has to offer but I tried to list the important ones. And if Microsoft sticks with their licensing model, it will be a really strong competitor to the VMWare vShpere 5.</p>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2537"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/09/hyper-v-version-3-kills-them-all/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Extending a Microsoft Hyper-V R2 Cluster Shared Volume</title>
		<link>http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/</link>
		<comments>http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 15:49:47 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Cluster Shared Volume]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[disk management]]></category>
		<category><![CDATA[diskpart]]></category>
		<category><![CDATA[Expand]]></category>
		<category><![CDATA[Extend]]></category>
		<category><![CDATA[Failover Cluster]]></category>
		<category><![CDATA[Failover Cluster Manager]]></category>
		<category><![CDATA[Hyper-v r2]]></category>
		<category><![CDATA[LUN]]></category>
		<category><![CDATA[Microsoft Hyper-v]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2467</guid>
		<description><![CDATA[This quick blog post shows you how you can simply extend a Hyper-V R2 or Windows Server 2008 R2 Cluster Shared Volume without any downtime. First you expand your LUN in your OEM SAN management software. This is mostly of &#8230; <a href="http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/" data-count="horizontal" data-text="Extending a Microsoft Hyper-V R2 Cluster Shared Volume" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F08%2Fextending-a-microsoft-hyper-v-r2-cluster-shared-volume%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-full wp-image-2468" title="Hyper-V" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/08/997_13017113876PJ6.jpg" alt="Hyper-V" width="377" height="480" /></p>
<p>This quick blog post shows you how you can simply extend a Hyper-V R2 or Windows Server 2008 R2 Cluster Shared Volume without any downtime. First you expand your LUN in your OEM SAN management software. This is mostly of the time nothing special. But after that you have to expand the Cluster Shared Volume.</p>
<ul>
<li>In your <strong>OEM SAN Management Software</strong> expand the size of the LUN or disk</li>
<li>Open the Microsoft <strong>Failover Cluster Manager</strong> and check the CSV coordinator for the disk or LUN you have expanded. The CSV coordinator is the disk owner in the cluster</li>
<li>Login to the CSV coordinator machine</li>
<li>If you are using the GUI version you can use the<strong> Disk Management</strong> under Storage in the Server Manager. You can now rescan for disks and then expand the Disk or LUN.</li>
<li>If you are using Hyper-V or Windows Server Core you can use diskpart</li>
<li>First start the cmd and open <strong><code>diskpart</code></strong></li>
<li>type <strong><code>rescan</code></strong></li>
<li>now type <strong><code>list volume</code></strong>, to list all volumes</li>
<li>Use <strong><code>select volume IDNumber</code></strong>, the IDNumber is the number you could see with list volume in the previous step.</li>
<li>now you can type <strong><code>extend</code></strong></li>
<li>with <strong><code>list volume</code></strong> you can see the results</li>
</ul>
<p>In some environments sometimes if you need to expand a Cluster Shared volume it makes more sense to create a new one and move the Virtual Machines with Storage Migration but this cannot be done without downtime.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2467"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/08/extending-a-microsoft-hyper-v-r2-cluster-shared-volume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 R2 Hyper-V Licensing Overview</title>
		<link>http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/</link>
		<comments>http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 13:34:05 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Licensing]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[CAL]]></category>
		<category><![CDATA[Datacenter]]></category>
		<category><![CDATA[Enterprise]]></category>
		<category><![CDATA[Foundation]]></category>
		<category><![CDATA[Hyper-V 2008 R2]]></category>
		<category><![CDATA[Hyper-V Server]]></category>
		<category><![CDATA[License]]></category>
		<category><![CDATA[License models]]></category>
		<category><![CDATA[Overview]]></category>
		<category><![CDATA[Physical]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Standard]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtual machines]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1767</guid>
		<description><![CDATA[This is a little Overview how you can license Windows Server 2008 R2 in a Hyper-V Environment. One of the biggest advantages  of Hyper-V over VMware are the included Guest OS Licenses. For example if you buy a Windows Server &#8230; <a href="http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/" data-count="horizontal" data-text="Windows Server 2008 R2 Hyper-V Licensing Overview" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F04%2Fwindows-server-2008-r2-hyper-v-licensing-overview%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a rel="lightbox" href="http://www.thomasmaurer.ch/wp-content/uploads/2011/03/hyper-v.png"><img style="background-image: none; margin: 3px 8px 8px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="hyper-v" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/03/hyper-v_thumb.png" border="0" alt="hyper-v" width="400" height="150" /></a></p>
<p>This is a little Overview how you can license Windows Server 2008 R2 in a Hyper-V Environment. One of the biggest advantages  of Hyper-V over VMware are the included Guest OS Licenses. For example if you buy a Windows Server 2008 R2 Datacenter license (of each CPU of your physical Server) you can deploy unlimited Windows Server 2008 R2 Datacenter Virtual Machines on this Host.</p>
<p>This Overview should help you understand how this works.</p>
<table border="1" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="100" valign="top"><strong>License</strong></td>
<td width="100" valign="top"><strong>License models</strong></td>
<td width="100" valign="top"><strong>Physical</strong></td>
<td width="100" valign="top"><strong>Virtual</strong></td>
</tr>
<tr>
<td width="100" valign="top">Windows Server 2008 R2 Foundation</td>
<td width="100" valign="top">Server License</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">0</td>
</tr>
<tr>
<td width="100" valign="top">Windows Server 2008 R2 Standard</td>
<td width="100" valign="top">Server + CAL<br />
Processor or SAL</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">1</td>
</tr>
<tr>
<td width="100" valign="top">Windows Server 2008 R2 Enterprise</td>
<td width="100" valign="top">Server + CAL<br />
Processor or SAL</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">4</td>
</tr>
<tr>
<td width="100" valign="top">Windows Server 2008 R2 Datacenter</td>
<td width="100" valign="top">Processor + CAL</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">unlimited</td>
</tr>
<tr>
<td width="100" valign="top">Windows Server 2008 R2 for Itanium-Based Systems</td>
<td width="100" valign="top">Processor + CAL</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">unlimited</td>
</tr>
<tr>
<td width="100" valign="top">Windows Web Server 2008 R2</td>
<td width="100" valign="top">Server License</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">0 (or 1)</td>
</tr>
<tr>
<td width="100" valign="top">Hyper-V Server 2008 R2</td>
<td width="100" valign="top">Free</td>
<td width="100" valign="top">1</td>
<td width="100" valign="top">0</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>If you need more infos you can find this <a href="http://www.microsoft.com/windowsserver2008/en/us/licensing-R2.aspx" target="_blank">here</a>.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-1767"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/04/windows-server-2008-r2-hyper-v-licensing-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell for System Center Virtual Machine Manager and Hyper-V</title>
		<link>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/</link>
		<comments>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 13:45:10 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Create VM]]></category>
		<category><![CDATA[Hyper-V Host]]></category>
		<category><![CDATA[Hyper-V Server]]></category>
		<category><![CDATA[Microsoft System Center Virtual Machine Manager 2008]]></category>
		<category><![CDATA[Microsoft System Center Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[Microsoft.SystemCenter.VirtualMachineManager]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Powershell create VM]]></category>
		<category><![CDATA[PSSnapin]]></category>
		<category><![CDATA[Remove VM]]></category>
		<category><![CDATA[Resume VM]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Start VM]]></category>
		<category><![CDATA[Stop VM]]></category>
		<category><![CDATA[Supsend VM]]></category>
		<category><![CDATA[System Center Virtual Machine Manager]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtual Machine Manager]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMM]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1244</guid>
		<description><![CDATA[This little HowTo shows you how can you get tasks on System Center Virtual Machine Manager done, by using Windows Powershell. Load Powershell Snapin for Virtual Machine Manager: Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager Create Virtual Machine: # Config # ------------------------------------ # Job Config &#8230; <a href="http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/" data-count="horizontal" data-text="Powershell for System Center Virtual Machine Manager and Hyper-V" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F12%2Fpowershell-for-system-center-virtual-machine-manager-and-hyper-v%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-medium wp-image-894" title="Microsoft System Center Virtual Machine Manager 2008 R2" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.49.49-300x198.png" alt="Microsoft System Center Virtual Machine Manager 2008 R2" width="300" height="198" /></p>
<p>This little HowTo shows you how can you get tasks on System Center Virtual Machine Manager done, by using Windows Powershell.</p>
<h3>Load Powershell Snapin for Virtual Machine Manager:</h3>
<pre>
Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager
</pre>
<h3>Create Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
# Job Config
$JobGroup = "0000001" # This is used to group command by a job
$SCMVVMServer = "SCVVMServer01" # Name of the SCVMM Server (could also be localhost)

# Network Config
$VirtualNetwork = "External" # Name of the Network you want the VM to connect
$VLanEnable = $true # eable VLANs
$VLANID = "1023" # VLAN ID

# VMM Config
$Domain = "Contoso"
$Owner = "Ownerusername" # Owner User
$Description = "This is a Server" # Choose a Description
$VMName = "server05" # Name of the VM
$VMHost = "hyperv02" # Name of the existing VM Host
$VMPath = "C:\ProgramData\Microsoft\Windows\Hyper-V"

# Virtual Machine Config
$VMOperatingSystem = "64-bit edition of Windows Server 2008 R2 Standard"
$CPU = "1.20 GHz Athlon MP" # CPU
$VMDiskSize = "40960" # Disk Size in MB
$CPUCount = "1"
$MemoryMB = "1024" # Memory Size in MB
$ExpectedCPUUtilization = "20"
$DiskIO = "0"
$CPUMax = "100"
$CPUReserve = "0"
$NetworkUtilization = "0"
$RelativeWeight = "100"
$HighlyAvailable = $false
$NumLock = $false
$BootOrder = "CD", "IdeHardDrive", "PxeBoot", "Floppy"
$LimitCPUFunctionality = $false
$LimitCPUForMigration = $false

# Setup Process
# ------------------------------------
Set-VirtualFloppyDrive -RunAsynchronously -VMMServer $SCVMMServer -NoMedia -JobGroup $JobGroup
Set-VirtualCOMPort -NoAttach -VMMServer $SCVMMServer -GuestPort 1 -JobGroup $JobGroup
Set-VirtualCOMPort -NoAttach -VMMServer $SCVMMServer -GuestPort 2 -JobGroup $JobGroup
New-VirtualNetworkAdapter -VMMServer $SCVMMServer -JobGroup $JobGroup -PhysicalAddressType Dynamic -VirtualNetwork $VirtualNetwork -VLanEnabled $VLanEnable -VLANID $VLANID -MACAddressesSpoofingEnabled $false
$CPUType = Get-CPUType -VMMServer $SCVMMServer | where {$_.Name -eq $CPU}
New-HardwareProfile -VMMServer $SCVMMServer -Owner ($Domain + "\" + $Owner) -CPUType $CPUType -Name ("Profile" + $JobGroup) -CPUCount $CPUCount -MemoryMB $MemoryMB -ExpectedCPUUtilization $ExpectedCPUUtilization -DiskIO $DiskIO -CPUMax $CPUMax -CPUReserve $CPUReserve -NetworkUtilization $NetworkUtilization -RelativeWeight $RelativeWeight -HighlyAvailable $HighlyAvailable -NumLock $XMLTask.Feature.NumLock -BootOrder $BootOrder -LimitCPUFunctionality $LimitCPUFunctionality -LimitCPUForMigration $LimitCPUForMigration -JobGroup $JobGroup
New-VirtualDiskDrive -VMMServer $SCVMMServer -IDE -Bus 0 -LUN 0 -JobGroup $JobGroup -Size $VMDiskSize -Dynamic -Filename ($VMName + "_disk_1")
$VMHost = Get-VMHost -VMMServer $SCVMMServer | where {$_.Name -eq $VMHost}
$HardwareProfile = Get-HardwareProfile -VMMServer $SCVMMServer | where {$_.Name -eq ("Profile" + $JobGroup)}
$OperatingSystem = Get-OperatingSystem -VMMServer $SCVMMServer | where {$_.Name -eq $VMOperatingSystem}

# Create VM
# ------------------------------------
New-VM -VMMServer $SCVMMServer -Name $VMName -Description $Description -Owner ($Domain + "\" + $Owner) -VMHost $VMHost -Path $VMPath -HardwareProfile $HardwareProfile -JobGroup $JobGroup -RunAsynchronously -OperatingSystem $OperatingSystem -RunAsSystem -StartAction NeverAutoTurnOnVM -StopAction SaveVM
</pre>
<h3>Delete (Remove) Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Remove/Delete VM
# ------------------------------------
Remove-VM -VM $SelectedVM
</pre>
<h3>Suspend Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Suspend VM
# ------------------------------------
Suspend-VM -VM $SelectedVM
</pre>
<h3>Resume Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Resume VM
# ------------------------------------
Resume-VM -VM $SelectedVM
</pre>
<h3>Stop Virtual Machine / Turn off Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Stop / Turn off VM
# ------------------------------------
Stop-VM -VM $SelectedVM
</pre>
<h3>Start Virtual Machine:</h3>
<pre>
# Config
# ------------------------------------
$VMName = "server05" # Name of the VM

# Setup Process
# ------------------------------------
$SelectedVM = Get-VM -Name $VMName

# Start VM
# ------------------------------------
Start-VM -VM $SelectedVM
</pre>
<p>This is a reference how you can do some thing with Powershell in the Virtual Machine Manager. You can do a lot more, like error handling, creating virtual machines from a xml config file etc&#8230;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-1244"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/12/powershell-for-system-center-virtual-machine-manager-and-hyper-v/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updated my iMac to 8GB RAM</title>
		<link>http://www.thomasmaurer.ch/2010/08/updated-my-imac-to-8gb-ram/</link>
		<comments>http://www.thomasmaurer.ch/2010/08/updated-my-imac-to-8gb-ram/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 17:34:32 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[8GB]]></category>
		<category><![CDATA[8GB RAM]]></category>
		<category><![CDATA[iMac]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMware Fusion]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=925</guid>
		<description><![CDATA[I just updated the memory of my early 2009 iMac to 8GB. Now I can see a nice performance boost by using my Windows 7 VM for work.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/08/updated-my-imac-to-8gb-ram/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/08/updated-my-imac-to-8gb-ram/" data-count="horizontal" data-text="Updated my iMac to 8GB RAM" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F08%2Fupdated-my-imac-to-8gb-ram%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-12-at-19.26.49.png" rel="lightbox[925]"><img class="aligncenter size-medium wp-image-926" title="iMac 8GB Ram" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-12-at-19.26.49-300x239.png" alt="iMac 8GB Ram" width="300" height="239" /></a></p>
<p>I just updated the memory of my early 2009 iMac to 8GB. Now I can see a nice performance boost by using my Windows 7 VM for work.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-925"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/08/updated-my-imac-to-8gb-ram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCVMM 2008 R2 adding VLANs</title>
		<link>http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/</link>
		<comments>http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 11:51:09 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Hyper-V Host]]></category>
		<category><![CDATA[Hyper-V Server]]></category>
		<category><![CDATA[Microsoft SCVMM]]></category>
		<category><![CDATA[Microsoft SCVMM 2008 R2]]></category>
		<category><![CDATA[SCVMM 2008]]></category>
		<category><![CDATA[SCVMM 2008 R2]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008]]></category>
		<category><![CDATA[System Center Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[Trunk]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtual Machine Manager]]></category>
		<category><![CDATA[Virtual Machine Manager 2008]]></category>
		<category><![CDATA[Virtual Machine Manager 2008 R2]]></category>
		<category><![CDATA[VLAN]]></category>
		<category><![CDATA[VLAN Trunk]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=890</guid>
		<description><![CDATA[In Microsoft System Center Virtual Machine Manager 2008, SCVMM added the VLAN automatically to the VM Hosts VLAN Trunk , if you added the VLAN to a Virtual Machine. In Microsoft System Center Virtual Machine Manager 2008 R2 (SCVMM 2008 R2), &#8230; <a href="http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/" data-count="horizontal" data-text="SCVMM 2008 R2 adding VLANs" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F08%2Fscvmm-2008-r2-adding-vlans%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-full wp-image-894" title="Microsoft System Center Virtual Machine Manager 2008 R2" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.49.49.png" alt="Microsoft System Center Virtual Machine Manager 2008 R2" width="500" height="331" /></p>
<p>In <a title="Microsoft System Center Virtual Machine Manager" href="http://www.microsoft.com/systemcenter/en/us/virtual-machine-manager.aspx" target="_blank">Microsoft System Center Virtual Machine Manager 2008</a>, SCVMM added the VLAN automatically to the VM Hosts VLAN Trunk , if you added the VLAN to a Virtual Machine.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.36.41.png" rel="lightbox[890]"><img class="aligncenter size-medium wp-image-891" title="Hyper-V SCVMM Virtual Machine Properties" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.36.41-300x171.png" alt="Hyper-V SCVMM Virtual Machine Properties" width="300" height="171" /></a>In Microsoft System Center Virtual Machine Manager 2008 R2 (SCVMM 2008 R2), this does not happen automatically. After or before you added the VLAN to the Virtual Machine you have to add the specific VLAN to the Host network adapter.</p>
<p>In the properties of the Virtual Machine Host under networking you have to edit the VLN Trunk.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.41.56.png" rel="lightbox[890]"><img class="aligncenter size-medium wp-image-892" title="Hyper-V SCVMM VLAN Trunk properties" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.41.56-300x288.png" alt="Hyper-V SCVMM VLAN Trunk properties" width="300" height="288" /></a>Now you can add VLAN IDs to the VLAN Trunk:</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.43.17.png" rel="lightbox[890]"><img class="aligncenter size-medium wp-image-893" title="Hyper-V SCVMM VLAN Trunk" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-13.43.17-238x300.png" alt="Hyper-V SCVMM VLAN Trunk" width="238" height="300" /></a></p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-890"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/08/scvmm-2008-r2-adding-vlans/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tuning a Windows 7 VM</title>
		<link>http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/</link>
		<comments>http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 09:48:31 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Tunining]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Virtual machines]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMware Fusion]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=799</guid>
		<description><![CDATA[I run several Windows Virtual Machines (VMs) on my Mac with VMware Fusion. Even VMware Fusion has a great performance for Virtual Machines I am really happy about every performance increase I can get. I made a list with some &#8230; <a href="http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/" data-count="horizontal" data-text="Tuning a Windows 7 VM" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F07%2Ftuning-a-windows-7-vm%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>I run several Windows Virtual Machines (VMs) on my Mac with <a href="http://www.vmware.com/products/fusion/" target="_blank">VMware Fusion</a>. Even VMware Fusion has a great performance for Virtual Machines I am really happy about every performance increase I can get. I made a list with some tuning tips.</p>
<ul>
<li>First use Windows Classic Theme</li>
<li>Deactivate System Protection (You also win some Diskspace)</li>
<li>Under System Properties &#8211;&gt; Advanced &#8211;&gt; Performance &#8211;&gt; Choose Adjust for best Performance</li>
<li>Deactivate Autostart objects with MSCONFIG</li>
</ul>
<p>There are a lot of more tips out there but I thinks these are pretty important.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-799"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/07/tuning-a-windows-7-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

