<?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: PowerCLI: Folder Name Mismatch</title>
	<atom:link href="http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/</link>
	<description>Virtually everything is poshable</description>
	<lastBuildDate>Sun, 21 Mar 2010 12:55:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Harley Stagner</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-1017</link>
		<dc:creator>Harley Stagner</dc:creator>
		<pubDate>Tue, 15 Sep 2009 18:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-1017</guid>
		<description>Thank you for the awesome script!

@LucD

Thank you for the regex LudD. However, I am having some problems with the matching when there is a non-word character (e.g. dash or underscore) in the VM Name. Any suggestions?</description>
		<content:encoded><![CDATA[<p>Thank you for the awesome script!</p>
<p>@LucD</p>
<p>Thank you for the regex LudD. However, I am having some problems with the matching when there is a non-word character (e.g. dash or underscore) in the VM Name. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-723</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Wed, 29 Jul 2009 15:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-723</guid>
		<description>&lt;a href=&quot;#comment-676&quot; rel=&quot;nofollow&quot;&gt;@Alex &lt;/a&gt; 
Thanks for the kind comments</description>
		<content:encoded><![CDATA[<p><a href="#comment-676" rel="nofollow">@Alex </a><br />
Thanks for the kind comments</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-676</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 21 Jul 2009 21:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-676</guid>
		<description>You think of everything that&#039;s annoyed me in the last couple of years.  Perfect and thanks again.  Glad I found this site.</description>
		<content:encoded><![CDATA[<p>You think of everything that&#8217;s annoyed me in the last couple of years.  Perfect and thanks again.  Glad I found this site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-543</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Tue, 23 Jun 2009 07:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-543</guid>
		<description>&lt;a href=&quot;#comment-542&quot; rel=&quot;nofollow&quot;&gt;@amusica &lt;/a&gt; 
Consistency is the key, thanks for the comment.</description>
		<content:encoded><![CDATA[<p><a href="#comment-542" rel="nofollow">@amusica </a><br />
Consistency is the key, thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amusica</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-542</link>
		<dc:creator>amusica</dc:creator>
		<pubDate>Tue, 23 Jun 2009 00:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-542</guid>
		<description>This is a pet peeve of mine for a while now, I am very anal about VMs like this I always end up changing the names of the directory name or even filename&#039;s by either svmotioning or using vmkfstools to match GUI (presumably what I wanted!)

Thanks the for the article.</description>
		<content:encoded><![CDATA[<p>This is a pet peeve of mine for a while now, I am very anal about VMs like this I always end up changing the names of the directory name or even filename&#8217;s by either svmotioning or using vmkfstools to match GUI (presumably what I wanted!)</p>
<p>Thanks the for the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virtu-Al</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-541</link>
		<dc:creator>Virtu-Al</dc:creator>
		<pubDate>Mon, 22 Jun 2009 21:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-541</guid>
		<description>&lt;a href=&quot;#comment-540&quot; rel=&quot;nofollow&quot;&gt;@LucD &lt;/a&gt; 
As always AMAZING ! Thanks Luc</description>
		<content:encoded><![CDATA[<p><a href="#comment-540" rel="nofollow">@LucD </a><br />
As always AMAZING ! Thanks Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LucD</title>
		<link>http://www.virtu-al.net/2009/06/22/powercli-folder-name-mismatch/comment-page-1/#comment-540</link>
		<dc:creator>LucD</dc:creator>
		<pubDate>Mon, 22 Jun 2009 20:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.virtu-al.net/?p=716#comment-540</guid>
		<description>A very &quot;usable&quot; article.
And for completeness sake, the regex version:

...
$VmPathName = $VM.Summary.Config.VmPathName
$Folder = ([regex]&quot;\[\w+\] (\w+)/&quot;).match($VmPathName).Groups[1].Value
$Path = ([regex]&quot;(\[\w+\] \w+)/&quot;).match($VmPathName).Groups[1].Value
...

Regex is your friend ;-)</description>
		<content:encoded><![CDATA[<p>A very &#8220;usable&#8221; article.<br />
And for completeness sake, the regex version:</p>
<p>&#8230;<br />
$VmPathName = $VM.Summary.Config.VmPathName<br />
$Folder = ([regex]&#8220;\[\w+\] (\w+)/&#8221;).match($VmPathName).Groups[1].Value<br />
$Path = ([regex]&#8220;(\[\w+\] \w+)/&#8221;).match($VmPathName).Groups[1].Value<br />
&#8230;</p>
<p>Regex is your friend <img src='http://www.virtu-al.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
