<?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>Edwin M SarmientoExport and Import Hyper-V 3.0 Virtual Machines Using PowerShell &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/export-and-import-hyper-v-3-0-virtual-machines-using-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>Export and Import Hyper-V 3.0 Virtual Machines Using PowerShell</title>
		<link>https://www.edwinmsarmiento.com/export-and-import-hyper-v-3-0-virtual-machines-using-powershell/</link>
		<comments>https://www.edwinmsarmiento.com/export-and-import-hyper-v-3-0-virtual-machines-using-powershell/#respond</comments>
		<pubDate>Fri, 23 Nov 2012 23:38:49 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows PowerShell]]></category>
		<category><![CDATA[Windows Server 2012]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/?p=697</guid>

				<description><![CDATA[When you run a server operating system in your laptop, there&#8217;s a ton of stuff that you need to consider. Today, I spent almost the entire day trying to make sure that all of the drivers work on my DELL Latitude E6520. And since I run the Hyper-V role on my Windows Server 2012 machine, the [&#8230;]]]></description>
					<content:encoded><![CDATA[<p>When you run a server operating system in your laptop, there&#8217;s a ton of stuff that you need to consider. Today, I spent almost the entire day trying to make sure that all of the drivers work on my <a href="http://amzn.to/V2z3fa" target="_blank">DELL Latitude E6520</a>. And since I run the Hyper-V role on my Windows Server 2012 machine, the first thing I did was to import all of my virtual machines from the old laptop to the new laptop. I currently have at least 14 virtual machines in my laptop. Since I do a lot of high availability and disaster recovery presentations, having that many virtual machines is just the norm for me. I took my external hard drive and started exporting all of my virtual machines.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-VM | Export-VM -Path &amp;quot;F:VirtualMachines&amp;quot;
</pre>
<p>That command exports all of the Hyper-V virtual machines from my old laptop and copy them to the external hard drive. After plugging in the external hard drive to the new laptop, I copied the entire folder to the D: drive. Once the copy process was completed, I imported all of the virtual machines into Hyper-V.</p>
<pre class="brush: powershell; title: ; notranslate">
PS D:VirtualMachines&amp;gt; Get-ChildItem -recurse *.xml | Import-VM
</pre>
<p>Pretty slick especially when you&#8217;re dealing with several Hyper-V 3.0 virtual machines that you need to copy from one machine to another. And, as always, the simplicity of a one-liner command is what I use to convince IT administrators to start playing around with Windows PowerShell. Exporting and importing my Hyper-V virtual machines only took less than 20 minutes.</p>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/export-and-import-hyper-v-3-0-virtual-machines-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">697</post-id>	</item>
	</channel>
</rss>