<?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 Powers, Activate!</title>
	<atom:link href="http://www.office-monkey.com/2009/01/16/powershell-powers-activate/feed/?http://www.office-monkey.com:80/office-monkey/2009/01/16/powershell-powers-activate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.office-monkey.com/2009/01/16/powershell-powers-activate/</link>
	<description>Everybody needs some monkey sometime...</description>
	<lastBuildDate>Fri, 23 Oct 2009 06:13:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Andrew</title>
		<link>http://www.office-monkey.com/2009/01/16/powershell-powers-activate/comment-page-1/#comment-8558</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 17 Jan 2009 23:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.office-monkey.com/?p=542#comment-8558</guid>
		<description>Thanks, Jeffrey! That looks promising -- although I hope I don&#039;t have to pull apart a build system XML the next time I need to walk a document tree. =]</description>
		<content:encoded><![CDATA[<p>Thanks, Jeffrey! That looks promising &#8212; although I hope I don&#8217;t have to pull apart a build system XML the next time I need to walk a document tree. =]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Snover</title>
		<link>http://www.office-monkey.com/2009/01/16/powershell-powers-activate/comment-page-1/#comment-8557</link>
		<dc:creator>Jeffrey Snover</dc:creator>
		<pubDate>Sat, 17 Jan 2009 19:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.office-monkey.com/?p=542#comment-8557</guid>
		<description>Sounds like you should check out the new Select-XML cmdlet in CTP3:
Select-Xml
        (0)-XPath 
        (1)-Xml &#124; -Node  (ByValue)
           [-Namespace ]

Select-Xml
        (0)-XPath 
           -Content  (ByValue)
           [-Namespace ]

Select-Xml
        (0)-XPath 
        (1)-Path &#124; -PSPath  (ByName)
           [-Namespace ]


Here is an example of it working:
[5308:0]PS&gt; dir . *xml -Recurse &#124;select-xml &#039;//SelectionSet[Name=&quot;CertificateProviderTypes&quot;]&#039; &#124;fl


Node    : SelectionSet
Path    : C:\Windows\System32\WindowsPowerShell\v1.0\Certificate.Format.ps1xml
Pattern : //SelectionSet[Name=&quot;CertificateProviderTypes&quot;]

Experiment! Enjoy! Engage!

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx</description>
		<content:encoded><![CDATA[<p>Sounds like you should check out the new Select-XML cmdlet in CTP3:<br />
Select-Xml<br />
        (0)-XPath<br />
        (1)-Xml | -Node  (ByValue)<br />
           [-Namespace ]</p>
<p>Select-Xml<br />
        (0)-XPath<br />
           -Content  (ByValue)<br />
           [-Namespace ]</p>
<p>Select-Xml<br />
        (0)-XPath<br />
        (1)-Path | -PSPath  (ByName)<br />
           [-Namespace ]</p>
<p>Here is an example of it working:<br />
[5308:0]PS&gt; dir . *xml -Recurse |select-xml &#8216;//SelectionSet[Name="CertificateProviderTypes"]&#8216; |fl</p>
<p>Node    : SelectionSet<br />
Path    : C:\Windows\System32\WindowsPowerShell\v1.0\Certificate.Format.ps1xml<br />
Pattern : //SelectionSet[Name="CertificateProviderTypes"]</p>
<p>Experiment! Enjoy! Engage!</p>
<p>Jeffrey Snover [MSFT]<br />
Windows Management Partner Architect<br />
Visit the Windows PowerShell Team blog at:    <a href="http://blogs.msdn.com/PowerShell" rel="nofollow">http://blogs.msdn.com/PowerShell</a><br />
Visit the Windows PowerShell ScriptCenter at:  <a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" rel="nofollow">http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.office-monkey.com/2009/01/16/powershell-powers-activate/comment-page-1/#comment-8556</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 17 Jan 2009 08:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.office-monkey.com/?p=542#comment-8556</guid>
		<description>Ha. Ha. Ha.
I can do pretty much anything possible via bash or csh via Powershell -- however, I&#039;m being extremely lazy about it. Conceivably (I&#039;m not testing it, and I&#039;m not a Powershell expert), I should be able to:
([xml] [string]::join(&quot;`n&quot;, (gc -read 10kb Native.Build.targets))).GetElementsByTagName(&quot;Internal_LinkOutputFile&quot;) &#124; % { $temp = $_.CreateNavigator() ; while ($temp.MoveToParent()) { } ; $temp }

Where EVERYTHING in the pipeline is an object, rather than restricted to just text flow.

You can go back to your pipe characters and output redirection, I&#039;ll stick with my strongly-typed scripting interactive command intepreter.  =]</description>
		<content:encoded><![CDATA[<p>Ha. Ha. Ha.<br />
I can do pretty much anything possible via bash or csh via Powershell &#8212; however, I&#8217;m being extremely lazy about it. Conceivably (I&#8217;m not testing it, and I&#8217;m not a Powershell expert), I should be able to:<br />
([xml] [string]::join(&#8220;`n&#8221;, (gc -read 10kb Native.Build.targets))).GetElementsByTagName(&#8220;Internal_LinkOutputFile&#8221;) | % { $temp = $_.CreateNavigator() ; while ($temp.MoveToParent()) { } ; $temp }</p>
<p>Where EVERYTHING in the pipeline is an object, rather than restricted to just text flow.</p>
<p>You can go back to your pipe characters and output redirection, I&#8217;ll stick with my strongly-typed scripting interactive command intepreter.  =]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darth Paradox</title>
		<link>http://www.office-monkey.com/2009/01/16/powershell-powers-activate/comment-page-1/#comment-8555</link>
		<dc:creator>Darth Paradox</dc:creator>
		<pubDate>Sat, 17 Jan 2009 07:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.office-monkey.com/?p=542#comment-8555</guid>
		<description>PowerShell, huh?  That sounds almost as nifty as basic Unix!</description>
		<content:encoded><![CDATA[<p>PowerShell, huh?  That sounds almost as nifty as basic Unix!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

