<?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>Hyper-V WMI: What VHD’s/Physical Disks Are Associated With a Virtual Machine?</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx</link><description>I&amp;#160; got a great question based on yesterday’s post (by the way my e-mail was blocking a lot of external messages that’s fixed now so I apologize to anyone I missed a mail from).&amp;#160; The person was asking how they could figure out what physical disk</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>send flowers &amp;raquo; Hyper-V WMI: What VHD???s/Physical Disks Are Associated With a Virtual Machine?</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx#8886698</link><pubDate>Fri, 22 Aug 2008 05:25:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8886698</guid><dc:creator>send flowers &amp;raquo; Hyper-V WMI: What VHD???s/Physical Disks Are Associated With a Virtual Machine?</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://hubsfunnywallpaper.cn/?p=1812"&gt;http://hubsfunnywallpaper.cn/?p=1812&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Hyper-V WMI: What VHD’s/Physical Disks Are Associated With a Virtual Machine? - by Taylor Brown</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx#8906692</link><pubDate>Fri, 29 Aug 2008 23:24:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8906692</guid><dc:creator>Ron Crumbaker at myITforum.com, Inc.</dc:creator><description>&lt;p&gt;Very handy script by Taylor Brown I got a great question based on yesterday’s post (by the way my e-mail&lt;/p&gt;</description></item><item><title>re: Hyper-V WMI: What VHD’s/Physical Disks Are Associated With a Virtual Machine?</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx#8938178</link><pubDate>Wed, 10 Sep 2008 03:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8938178</guid><dc:creator>tony</dc:creator><description>&lt;P&gt;You are asking Hyper-V parent's Hyper-V WMI provider to answer which one is VHD / passthrough disk. &lt;/P&gt;
&lt;P&gt;Without asking parent, how to detect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=========================================&lt;BR&gt;Without asking the parent you can't detect this information.&lt;/P&gt;
&lt;P&gt;-Taylor&lt;/P&gt;</description></item><item><title>re: Hyper-V WMI: What VHD’s/Physical Disks Are Associated With a Virtual Machine?</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx#9066841</link><pubDate>Thu, 13 Nov 2008 21:02:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9066841</guid><dc:creator>Niall Waller</dc:creator><description>&lt;p&gt;If anyone is trying to do this in VBScript then here's the code:&lt;/p&gt;
&lt;p&gt;strComputer = &amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;Set objWMIService = GetObject(&amp;quot;winmgmts:\\&amp;quot; &amp;amp; strComputer &amp;amp; &amp;quot;\root\virtualization&amp;quot;)&lt;/p&gt;
&lt;p&gt;Set colSystems = objWMIService.ExecQuery(&amp;quot;SELECT * FROM Msvm_VirtualSystemSettingData&amp;quot;, _&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;WQL&amp;quot;, wbemFlagReturnImmediately + wbemFlagForwardOnly)&lt;/p&gt;
&lt;p&gt;For Each objSystem In colSystems&lt;/p&gt;
&lt;p&gt; &amp;nbsp; WScript.Echo &amp;quot;ElementName: &amp;quot; &amp;amp; objSystem.ElementName&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Set colResData = objWMIService.ExecQuery(&amp;quot;Associators of {Msvm_VirtualSystemSettingData='&amp;quot; &amp;amp; objSystem.InstanceID &amp;amp; &amp;quot;'} Where ResultClass=Msvm_ResourceAllocationSettingData AssocClass=Msvm_VirtualSystemSettingDataComponent&amp;quot;, _&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;WQL&amp;quot;, wbemFlagReturnImmediately + wbemFlagForwardOnly)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; For Each objResData In colResData&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;If objResData.ResourceSubType = &amp;quot;Microsoft Virtual Hard Disk&amp;quot; Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; strConnection = Join(objResData.Connection, &amp;quot;,&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WScript.Echo &amp;quot; &amp;nbsp;Connection: &amp;quot; &amp;amp; strConnection&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Next&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;</description></item><item><title>How Are My VHD’s/Passthough Disk’s Connected To My Virtual Machine?</title><link>http://blogs.msdn.com/taylorb/archive/2008/08/21/hyper-v-wmi-what-vhd-s-physical-disks-are-associated-with-a-virtual-machine.aspx#9426797</link><pubDate>Tue, 17 Feb 2009 04:03:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9426797</guid><dc:creator>Taylor Brown's Blog</dc:creator><description>&lt;p&gt;This is a follow up on my previous post on Hyper-V WMI: What VHD’s/Physical Disks Are Associated With&lt;/p&gt;</description></item></channel></rss>