<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Powershell speed &#8211; Get-VM vs. Get-Type -ViewType</title>
	<atom:link href="http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/feed/" rel="self" type="application/rss+xml" />
	<link>http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/</link>
	<description>Virtualization is a layer in software. What are you abstracting away from?</description>
	<lastBuildDate>Sun, 05 Sep 2010 12:56:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: It&#8217;s Just Another Layer &#187; Another mega slow VIToolkit call (Get-HardDisk)</title>
		<link>http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/comment-page-1/#comment-280</link>
		<dc:creator>It&#8217;s Just Another Layer &#187; Another mega slow VIToolkit call (Get-HardDisk)</dc:creator>
		<pubDate>Sat, 21 Mar 2009 18:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://itsjustanotherlayer.com/?p=47#comment-280</guid>
		<description>[...] slow compared to pulling useful data from it. I&#8217;ve done performance testing before of Get-VM against Get-View to get to the useful data needed day to day.   In that test using Get-View was [...]</description>
		<content:encoded><![CDATA[<p>[...] slow compared to pulling useful data from it. I&#8217;ve done performance testing before of Get-VM against Get-View to get to the useful data needed day to day.   In that test using Get-View was [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iguy</title>
		<link>http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/comment-page-1/#comment-51</link>
		<dc:creator>iguy</dc:creator>
		<pubDate>Mon, 29 Dec 2008 02:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://itsjustanotherlayer.com/?p=47#comment-51</guid>
		<description>It returns a Get-View object.   Its not the same ton of associated properties and objects.

My point in the post is that a significant number of scripts perform the same exact action and that being &quot;Get-VM &#124; Get-View &#124; etc..&quot;  However Get-VM is significantly slow if you are just going to go to Get-View immediately afterwards.  

If your script goes and says &quot;Get-VM &#124; Get-View&quot; then you should do a &quot;Get-View -ViewType VirtualMachine&quot;.   If you have other things your going to do with a Get-VM then this might not be the best solution for you.</description>
		<content:encoded><![CDATA[<p>It returns a Get-View object.   Its not the same ton of associated properties and objects.</p>
<p>My point in the post is that a significant number of scripts perform the same exact action and that being &#8220;Get-VM | Get-View | etc..&#8221;  However Get-VM is significantly slow if you are just going to go to Get-View immediately afterwards.  </p>
<p>If your script goes and says &#8220;Get-VM | Get-View&#8221; then you should do a &#8220;Get-View -ViewType VirtualMachine&#8221;.   If you have other things your going to do with a Get-VM then this might not be the best solution for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cody</title>
		<link>http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/comment-page-1/#comment-47</link>
		<dc:creator>Cody</dc:creator>
		<pubDate>Sun, 28 Dec 2008 04:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://itsjustanotherlayer.com/?p=47#comment-47</guid>
		<description>Indeed.  Does this also return the same object back to the pipeline that a get-vm does?</description>
		<content:encoded><![CDATA[<p>Indeed.  Does this also return the same object back to the pipeline that a get-vm does?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike DiPetrillo</title>
		<link>http://itsjustanotherlayer.com/2008/12/powershell-speed-get-vm-vs-get-type-viewtype/comment-page-1/#comment-44</link>
		<dc:creator>Mike DiPetrillo</dc:creator>
		<pubDate>Sat, 13 Dec 2008 01:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://itsjustanotherlayer.com/?p=47#comment-44</guid>
		<description>Great find. Back in college I was writing a program to play checkers against a human. My professor looked at my program and saw all of these nested if statements and laughed at me and showed me what the correct answer was for how to write the program. Sure his was more advanced but mine ran 10 times faster. Just goes to show there&#039;s always a better mouse trap and sometimes it&#039;s as simple as a sledgehammer. :)</description>
		<content:encoded><![CDATA[<p>Great find. Back in college I was writing a program to play checkers against a human. My professor looked at my program and saw all of these nested if statements and laughed at me and showed me what the correct answer was for how to write the program. Sure his was more advanced but mine ran 10 times faster. Just goes to show there&#8217;s always a better mouse trap and sometimes it&#8217;s as simple as a sledgehammer. <img src='http://itsjustanotherlayer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
