<?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>#requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx</link><description>Recently, I saw someone that had developed a script on the CTP3 drop and was then having trouble running it on v1 of PowerShell. Eventually it turned out that he was using v2 features in his script. Most of you know that we are trying to keep the next</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Anith &amp;raquo; #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9402926</link><pubDate>Sat, 07 Feb 2009 00:51:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9402926</guid><dc:creator>Anith &amp;raquo; #requires your scripts</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.anith.com/?p=6484"&gt;http://www.anith.com/?p=6484&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9403829</link><pubDate>Sat, 07 Feb 2009 09:23:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9403829</guid><dc:creator>Stranger</dc:creator><description>&lt;p&gt;Why not changing the file extension from ps1 to ps2? Seems more obvious to me...&lt;/p&gt;
&lt;p&gt;Or do we have ps2 in PowerShell 3 to complete the Microsoft version numbering chaos?&lt;/p&gt;</description></item><item><title>re: #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9405786</link><pubDate>Sun, 08 Feb 2009 01:50:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9405786</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Of course, the easiest way to prevent someone from running a version 2 script on a version 1 shell would have been to enforce renaming the 'required' file extension from .ps1 to .ps2 -- the extension's original intent.&lt;/p&gt;</description></item><item><title>#requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9406547</link><pubDate>Sun, 08 Feb 2009 09:54:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9406547</guid><dc:creator>CK</dc:creator><description>&lt;p&gt;Renaming the extension would be the best way to go, however, then we would need updated VIM plugins. That's ok though as the syntax plugin needs some minor parameter refactoring anyway;-) &lt;/p&gt;</description></item><item><title>re: #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9407283</link><pubDate>Sun, 08 Feb 2009 21:54:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9407283</guid><dc:creator>James</dc:creator><description>&lt;p&gt;Compatibility is important.&lt;/p&gt;
&lt;p&gt;But I think this time Microsoft outperformed themselves.&lt;/p&gt;
&lt;p&gt;So much that version 2 is installed in C:\Windows\system32\WindowsPowerShell\v1.0\&lt;/p&gt;
&lt;p&gt;(On 32bit Vista, at least).&lt;/p&gt;</description></item><item><title>re: #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9407421</link><pubDate>Mon, 09 Feb 2009 00:28:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9407421</guid><dc:creator>Merddyn</dc:creator><description>&lt;p&gt;Unfortunately, I found out the hard way it is possible to write a script using V2 features and not even realize it.&lt;/p&gt;
&lt;p&gt;For example, binding a new object to System.DirectoryServices.DirectoryEntry in v2 allows me to take advantage of the inherited 'children' method to enumerate the targeted object, however in v1 that isn't available to me because it appears to expect an overload. Not sure why this behavior would be different since this is the .Net namespace and not a PowerShell command, but it is. For some reason I thought it should work the same.&lt;/p&gt;</description></item><item><title>re: #requires your scripts</title><link>http://blogs.msdn.com/powershell/archive/2009/02/06/requires-your-scripts.aspx#9409844</link><pubDate>Tue, 10 Feb 2009 06:50:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9409844</guid><dc:creator>Bob Landau</dc:creator><description>&lt;p&gt;Renaming the extension is not enough. There will be differences between Win7 and WS2008R2 vs Vista/XP even if they are using v2 of PS.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/powershell/archive/2008/10/29/574-reasons-why-we-are-so-proud-and-optimistic-about-w7-and-ws08r2.aspx"&gt;http://blogs.msdn.com/powershell/archive/2008/10/29/574-reasons-why-we-are-so-proud-and-optimistic-about-w7-and-ws08r2.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am hoping that when this RTM's or prior at least the helpfiles for the cmdlets will designate whether they are for v1 or 2 and which OS. &lt;/p&gt;</description></item></channel></rss>