You all know that I love Monad, which has now been rebranded “Windows PowerShell”. Now you can download RC1 of the best shell ever invented!
A few important points:
- The file extension for scripts has changed from MSH to PS1[1]
- There are lots of new features, like custom TabExpansions!
To get the real story behind all this, and to find the right download links, read this post on the Windows PowerShell Team blog.
If, like me, you have a directory full of .MSH files that need to be renamed to .PS1, you can use this little tidbit:
> gci *.msh | foreach { ren $_ $([System.IO.Path]::GetFileNameWithoutExtension($_.Name) + ".ps1") }
[1] Yeah, I know, .PS1 seems dumb to me too, but there are lots of reasons why it couldn’t (and maybe shouldn’t) be something else. Oh well… get used to it.