<?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>Luka Manojlovic &#187; Hyper-V</title>
	<atom:link href="http://luka.manojlovic.net/tag/hyper-v/feed/" rel="self" type="application/rss+xml" />
	<link>http://luka.manojlovic.net</link>
	<description>Luka&#039;s technical blog</description>
	<lastBuildDate>Sun, 18 Dec 2011 14:19:38 +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>Manage Hyper-V Virtual machines using WMI and VBS scripts</title>
		<link>http://luka.manojlovic.net/2010/05/24/manage-hyper-v-virtual-machines-using-wmi-and-vbs-scripts/</link>
		<comments>http://luka.manojlovic.net/2010/05/24/manage-hyper-v-virtual-machines-using-wmi-and-vbs-scripts/#comments</comments>
		<pubDate>Sun, 23 May 2010 23:21:29 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Hyper-V WMI]]></category>
		<category><![CDATA[InitiateShutdown]]></category>
		<category><![CDATA[RequestStateChange]]></category>
		<category><![CDATA[vm WMI]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/?p=227</guid>
		<description><![CDATA[Today I was working on how to manage Hyper-V virtual machines using WMI.This VBS scripts can be modified to suit your needs&#8230;Each script takes one argument &#8220;machine name&#8221;: listvm.vbs &#8211; display all virtual machines on Hyper-V - this script will create a TXT file (you should edit path and filename inside the script) with all virtual [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was working on how to manage Hyper-V virtual machines using WMI.<br />This VBS scripts can be modified to suit your needs&#8230;<br />Each script takes one argument &#8220;machine name&#8221;:</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/listvm.vbs" target="_self">listvm.vbs</a> &#8211; display all virtual machines on Hyper-V - this script will create a TXT file (you should edit path and filename inside the script) with all virtual machines that are on Hyper-V host. It will print names of the machines and current state (Running, Off, Saved)</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/sortvm.vbs" target="_self">sortvm.vbs</a> - this script alphabeticaly sorts list of virtual machines (you should edit path and filename inside the script)</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/startvm.vbs" target="_self">startvm.vbs</a> &#8211; usage: startvm.vbs &#8220;Name of your virtual machine&#8221; &#8211; this script will start the virtual machine</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/stopvm.vbs" target="_self">stopvm.vbs</a> &#8211; usage: stopvm.vbs &#8220;Name of your virtual machine&#8221; &#8211; this script will turn of (dirty!) your virtual machine</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/shutdownvm.vbs" target="_self">shutdownvm.vbs</a> &#8211; usage: shutdownvm.vbs &#8220;Name of your virtual machine&#8221; &#8211; this script will shut down your virtual machine if it is Integration Services aware &#8211; it will signal/notify guest operating system to initialize shutdown procedure. It works only on machines that support Hyper-V Integration services.</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/hardresetvm.vbs" target="_self">hardresetvm.vbs</a> &#8211; usage: hardresertvm.vbs &#8220;Name of your virtual machine&#8221; &#8211; this script will reset (dirty!) your virtual machine</p>
<p><a href="http://store.manojlovic.net/vbsscripts/hyper-v/savestatevm.vbs" target="_self">savestatevm.vbs</a> &#8211; usage: savestatevm.vbs &#8220;Name of your virtual machine&#8221; &#8211; this script will save and turn off your virtual machine</p>
<p>I have compiled this scripts using resources regarding Hyper-V and WMI<br /><a href="http://msdn.microsoft.com/en-us/library/cc136992(VS.85).aspx">http://msdn.microsoft.com/en-us/library/cc136992(VS.85).aspx</a><br /><a href="http://blogs.msdn.com/virtual_pc_guy/">http://blogs.msdn.com/virtual_pc_guy/</a></p>
<p>Enjoy, WMI power!</p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2010/05/24/manage-hyper-v-virtual-machines-using-wmi-and-vbs-scripts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SBS 2008 (AD server) virtualized on Hyper-V &#8211; what about time synchronization?</title>
		<link>http://luka.manojlovic.net/2010/04/11/sbs-2008-ad-server-virtualized-on-hyper-v-what-about-time-synchronization/</link>
		<comments>http://luka.manojlovic.net/2010/04/11/sbs-2008-ad-server-virtualized-on-hyper-v-what-about-time-synchronization/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 18:40:50 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[integration services]]></category>
		<category><![CDATA[sbs 2008 time synchronization]]></category>
		<category><![CDATA[time synchronization]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/?p=221</guid>
		<description><![CDATA[Hi! This blog post is about time synchronization with Hyper-V Integration services when you virtualize SBS 2008 server. You should never leave Hyper-V host to &#8220;force&#8221; time on servers that you virtualize and that are Active Directory servers (at least not PDC that is the root time server for a domain). By default Hyper-V enables [...]]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>This blog post is about time synchronization with Hyper-V Integration services when you virtualize SBS 2008 server. You should never leave Hyper-V host to &#8220;force&#8221; time on servers that you virtualize and that are Active Directory servers (at least not PDC that is the root time server for a domain).</p>
<p>By default Hyper-V enables all Integration services components on your virtual machine but it&#8217;s better to configure your virtual machine in my case SBS 2008 server that is Active Directory server too with external NTP time source. Becouse if something goes wrong or you have wrong time on your Hyper-V host you can get in troubles when Hyper-V host will push this &#8220;bad time&#8221; into your virtual machine.</p>
<p>You should also know that by default on boot virtual machine get&#8217;s time from your Hyper-V host becouse of that I have writen two articles. First is about configuring your Hyper-V host that is not joined into a domain (so it does not get the right time from AD server) so it can receive the right time from NTP time source.<br />And the second one about setting correct values on SBS 2008 server and disabling Hyper-V integration services feature Time Synchronization.</p>
<p>Hope it helps&#8230;</p>
<p><a href="http://store.manojlovic.net/articles/Time%20sync%20in%20SBS%202008%20virtualized%20on%20Hyper%20-%20part%201.docx">Time sync in SBS 2008 virtualized on Hyper &#8211; part 1.docx </a><br /><a href="http://store.manojlovic.net/articles/Time%20sync%20in%20SBS%202008%20virtualized%20on%20Hyper%20-%20part%201.pdf">Time sync in SBS 2008 virtualized on Hyper &#8211; part 1.pdf</a></p>
<p><a href="http://store.manojlovic.net/articles/Time%20sync%20in%20SBS%202008%20virtualized%20on%20Hyper%20-%20part%202.docx">Time sync in SBS 2008 virtualized on Hyper &#8211; part 2.docx</a> <br /><a href="http://store.manojlovic.net/articles/Time%20sync%20in%20SBS%202008%20virtualized%20on%20Hyper%20-%20part%202.pdf">Time sync in SBS 2008 virtualized on Hyper &#8211; part 2.pdf</a></p>
<p>Luka</p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2010/04/11/sbs-2008-ad-server-virtualized-on-hyper-v-what-about-time-synchronization/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hyper-V in Hyper-V?!? :)</title>
		<link>http://luka.manojlovic.net/2008/10/16/hyper-v-in-hyper-v/</link>
		<comments>http://luka.manojlovic.net/2008/10/16/hyper-v-in-hyper-v/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 23:21:23 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[MS Windows server]]></category>
		<category><![CDATA[Windows server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[hyper-v in hyper-v]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/?p=126</guid>
		<description><![CDATA[For testing and presentation puropuses I have installed inside my full Windows server 2008 64 BIT installation with Hyper-V another standalone Microsoft Hyper-V Server 2008 - everything works &#8211; you can even manage it using Hyper-V manager from other server but you can not (obviously! ) run virtual machines. You get an error saying unable to [...]]]></description>
			<content:encoded><![CDATA[<p>For testing and presentation puropuses I have installed inside my full Windows server 2008 64 BIT installation with Hyper-V another standalone Microsoft Hyper-V Server 2008 - everything works &#8211; you can even manage it using Hyper-V manager from other server but you can not (obviously! <img src='http://luka.manojlovic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) run virtual machines. You get an error saying unable to create partition. You should be a wirdo to even think about souch stuff but I had a chance and I just could not resist pressing the START button. <img src='http://luka.manojlovic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So you know now&#8230; Hyper-V inside Hyper-V does not work! <img src='http://luka.manojlovic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2008/10/16/hyper-v-in-hyper-v/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Microsoft Hyper-V server 2008 is here!!!</title>
		<link>http://luka.manojlovic.net/2008/10/05/microsoft-hyper-v-server-2008-is-here/</link>
		<comments>http://luka.manojlovic.net/2008/10/05/microsoft-hyper-v-server-2008-is-here/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 09:39:37 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[Windows server 2008]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Hyper-V server]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[HyperV server 2008]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/2008/10/05/microsoft-hyper-v-server-2008-is-here/</guid>
		<description><![CDATA[I welcome you to join virtualisation experience with this fantastic product&#8230; At the moment of writing I am testing Microsoft Hyper-V server 2008 and it works great&#8230; In next days I will post some screenshots on how to install, configure and manage Microsoft Hyper-V server 2008&#8230; http://www.microsoft.com/servers/hyper-v-server/default.mspx]]></description>
			<content:encoded><![CDATA[<p>I welcome you to join virtualisation experience with this fantastic product&#8230; At the moment of writing I am testing Microsoft Hyper-V server 2008 and it works great&#8230; In next days I will post some screenshots on how to install, configure and manage Microsoft Hyper-V server 2008&#8230;</p>
<p><a href="http://www.microsoft.com/servers/hyper-v-server/default.mspx">http://www.microsoft.com/servers/hyper-v-server/default.mspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2008/10/05/microsoft-hyper-v-server-2008-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V FreeBSD shutdown problem workaround</title>
		<link>http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround/</link>
		<comments>http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 17:09:39 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[MS Windows server]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows server 2008]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Shutdown problem]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround/</guid>
		<description><![CDATA[Thanks to Mike &#8230;  Mike wrote:  &#8220;I&#8217;ve found an even easier way to do this.  I found a PowerShell Hyper-V script at: http://www.codeplex.com/PSHyperv It has a lot of functions already, and I added a &#8220;Kill-VM&#8221; function that automates the kill process: Kill-VM &#60;VM name&#62; My modified script is attached to this message. To use it, you [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to Mike &#8230; </p>
<p>Mike wrote: </p>
<p>&#8220;I&#8217;ve found an even easier way to do this.  I found a PowerShell Hyper-V script at:</p>
<p><a href="http://www.codeplex.com/PSHyperv">http://www.codeplex.com/PSHyperv</a></p>
<p>It has a lot of functions already, and I added a &#8220;Kill-VM&#8221; function that automates the kill process:</p>
<p>Kill-VM &lt;VM name&gt;</p>
<p>My modified script is attached to this message.</p>
<p>To use it, you need to install PowerShell (Under Server Manager -&gt; Features in Win2008).  Once installed, run PowerShell from Start -&gt; Search, find the script, and type:</p>
<p>. .\hyperv.ps1</p>
<p>Once loaded into memory, type:</p>
<p>Kill-VM &lt;VM Name&gt;</p>
<p>Enjoy&#8221;</p>
<p><a href="http://store.manojlovic.net/utility/Hyper-VPS/hyperv-script.zip">Click here to download script &#8211; hyperv-script.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2008/07/18/hyper-v-freebsd-shutdown-problem-workaround/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

