PowerShell on Linux, Solaris, Mac, PHONES!!! etc

PowerShell on Linux, Solaris, Mac, PHONES!!! etc

  • Comments 25

Igor Moochnick announced the first release of PASH, an open source implementation of PowerShell.  (I tripled check the date on his blog to make sure it really said April 6th and not April 1st. :-) ).  This is really exciting stuff.  This is one of the most requested items from IT shops that run heterogeneous environments.  They love PowerShell and want ALL their IT Pros to adopt it.  I haven't tried it yet so I don't know what it does/does not implement but I'm pretty excited about it.  I can't wait to give it a try.

I'll have to talk with the .NET guys about how they work with the MONO team to ensure compatibility.  If it gets/stays compatible, that is a super good thing for customers.  It it becomes a variation or separate dialect and confuses our customers, then that would be problem.

BTW - just to make one point REALLY clear - PowerShell running across heterogeneous platforms was a project goal from the very beginning of the project.  We architected and designed PowerShell so that our only "true" dependency was on .NET.  There are only 1 or 2 cases where I know that we call a Windows API (code signing).  In other words - what Igor is doing IS PERFECTLY FEASIBLE.  Sure, he won't have WMI cmdlets on those other environments - you'll have incidental variations - that is not a problem.  The engine and the language should work perfectly.

One last point.  I'm really looking forward to getting the Open Source communities input on PowerShell and suggestions on ways to improve it.  Their usage scenarios will be different and will highlight any flaws or shortcomings we have in other areas (e.g. text parsing/manipulation).  I look forward to hearing their complaints/recommendations.  Adding their perspective and insight will make PowerShell a better technology for everyone.

 

Check this out:

 

What a nice day!

 

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

Leave a Comment
  • Please add 1 and 7 and type the answer here:
  • Post
  • AVI, its great to be a Powershell fanboi, but please take a moment to re-read your post. Where would Java be without the *many* frameworks and the community around it ? I dont code in .NET, so I dont criticise it - enough said.

    As for Powershell being 'far superior to anything in Unix', please re-read a lot of the early posts from Jeffrey and other members of the PS team : they have drawn much of their inspiration from *nix tools, and freely admit that Powershell is a work in progress. Personally, I think its the best thing ever to come out of Redmond, but that doesnt mean that I am prepared to criticise everything else in the dev universe. Spend some time actually developing a true cross-platform application in Python or Ruby (Windows, OS X, any *nix flavour), then come back and tell me whether its 'far inferior' to Powershell.  

    Disclaimer: I cut Perl for a living, on a Linux desktop, so I may not be completely impartial :)

  • Actually, Java -- or, the JVM -- supports many languages; I've worked some in Groovy, for example, and there are other languages like Sleep  which are implemented only on the JVM.

    And a quick Google search pulls up a <a href="http://en.wikipedia.org/wiki/List_of_JVM_languages">List of JVM languages</a> on Wikipedia, which some of the ports of other languages to the JVM.

    So, although maybe not originally sun's point with Java, .NET and it occupy much the same space.

  • Those who do not understand Unix are doomed to re-invent it. Poorly. - Henry Spencer

  • Just came from VMworld 2009 last week.  Took several PowerCLI sessions/labs which includes 160 PowerShell command extensions for managing VMs, vSphere 4, etc.

    I'd be interesting in helping / testing PowerCLI from PASH.

    Let me know if there is interest.

  • I use PowerShell to manage Wintel servers and virtual servers; with the VMware vSphere PowerCLI I manage vCenter and some aspects of VMs.

    I think a PowerShell PowerCLI  for LINUX will help me a lot. I'll be able to manage LINUX based serves and virtual servers in the same method I manage everything else.

    Doing it without having to learn another language is great. Since I'm still fairly new to LINUX, have had little time to master it as oi would like to, and no training budget.

  • If the whole point of .net was to compete with Java (and we all know it was!!) then why can't Microsoft keep windows32 calls out of their .net implementations.

    I've never heard of a Solaris only implementation of java.

    As far as I know Sun has released java virtual machines for linux and windows without relying on the open source community to do their dirty work. Even though open source alternatives have followed suit.

    The fact that sun isn't the leading computer company is just rediculous. They obviously know their $#&*.

  • PowerShell - AFSL (Another Scripting Language).

    Can't Microsoft just settle on one scripting language and get rid of all the rest?  

    It is absolutely ridiculous to think Linux, Mac, Unix, or any other operating system should change just for Microsoft.

    Microsoft can't even get their JScript to do an HTTP file upload simply.  Calling a VB.Net program from JScript to do the aforementioned file upload can not be done simply.

    Why does Microsoft waste the time of so many people?

  • All you are blasting "Good" or "bad". And I still using python. Sorry all. But for me, nothing change for Linuxs, Unix, Windows, Mac, Iphone, Android throw Jython, IronPython and another "converters". Some laks, but all done.

  • So is Pash officially dead now? Anything else happening on this front?

  • "So is Pash officially dead now? Anything else happening on this front?"

    Pash is officially back from the dead now!

    github.com/.../Pash

    twitter.com/PashProject

Page 2 of 2 (25 items) 12