Personally, I feel they're creating enough confusion to rival the ".NET 3.0 on CLR 2.0" mess.
Seems kinda short-sighted not to just add a new .ps2 script registration that does exactly the same as .ps1.
Josh Einstein
"Marco Shaw [MVP]" <marco.shaw[ at ]_NO_SPAM_gmail.com> wrote in message news:exMRtBRZJHA.5108[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text] > David Trimboli wrote: >> I always assumed the "1" in ".ps1" referred to the fact that it was >> PowerShell v1. But now I see the CTP versions still using .ps1 for >> scripts. I figured that .ps1 would continue to run v1 scripts (backward >> compatibility), but a new extension, .ps2, would be used so they would >> only run in PowerShell v2. So... why not? What's the "1" for? >> > > This should help: > http://blogs.msdn.com/powershell/archive/2007/11/02/ctp-versioning.aspx> > Basically, even PowerShell v2 scripts will be .ps1 even when released... > > If you search the net, there are unsupported ways of being able to run > CTPs and v1 side-by-side on the same machine... There was a post to this > newsgroup several months ago on this (kind of hidden though if I remember > in a thread). > > Marco > > -- > *Microsoft MVP - Admin Frameworks > https://mvp.support.microsoft.com/profile/Marco.Shaw> *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition (due December > 15th, 2008) > *PowerShell Co-Community Director - http://www.powershellcommunity.org> *Blog - http://marcoshaw.blogspot.com
|