Powershell still sucks

Powershell is a great command line shell, if you all you know is cmd and batch. There are so many things it is missing when trying to compete with current Unix shells such as Bash, and while some of them have semi-working workarounds, many are sorely missing.

My pet peeves are:

  • A decent pager. “more” is basically at the same stage it was when I started working in MS-DOS 3.30, and it is nowhere near the functionality of “less”(1).
  • Persistent history. I’ve seen some workarounds but couldn’t get any of them to work properly.

Both of these features have been available to me since I started working with Linux in 1995, and it is really difficult living without them in MS-world. A decent terminal emulator will be nice too – the Powershell box has advantage over the cmd.exe box in that it is blue – other then that they are both in the same sorry state that the “dos box” of Windows 3 fame was at. I’m using “Console 2″ to get some useful work done, but it too leaves much to be desired.

Also, startup is so.. fscking.. slow.. Starting Powershell on a brand new machine (with no per-session user scripts) can take as much as 3 seconds. Those are minutes of my life everyday that I would never get back.

  1. and I’m not talking about the built-in editor, just being able to “page up” would have been nice []

4 Responses to “Powershell still sucks”

  1. John:

    You are right. Powershell sucks. It isn’t as powerful as a full compiled language and is not quick to use like vbscript or command-line scripting. So it falls in between and doesn’t really have a nitch other than MS wants it to be the scripting language of choice for Windows (for now). MS is forcing this pile of non-intuitive garbage on it’s customers as a “service”.

    • Oded:

      I am coming to this from the perspective of a UN*X user, which I think is the target audience for this product – Microsoft wants to entice administrators who are used to the UN*X way: powerful shell languages allowing you to do anything from the console – remote access, administer, script and even build complete applications using a simple language that is fast to work with.

      Powershell looks more like bash/ksh/csh than any other Microsoft technology (excuse me, but CMD batch processing is a horrible pile of junk that hasn’t gained a single feature since MS-DOS 7.0 days, and VBScript as a system administration language is a sad joke), but when I use it I am mostly reminded in how much MS-Windows is not UN*X – Powershell is not simple, it is not fast, and it is not comfortable.

      It does offer remote shell -like access (using WinRM with WMF 3.0), which while could be easier to set up and still suffers from all the problems of Powershell itself, is still so much better than needing to open a full screen RDP session every time you want to manage a remote machine.

  2. KPB:

    I have to agree that powershell sucks. I’ve been in the IT industry for over 35 years. It’s laughable that people thing Cobol was horrible. I’d take Cobol over powershell any day!

  3. Berferd:

    It is pretty bad when the end user cannot double click and run the script.

Leave a Reply




Loading ...

Sorry :(

Can't connect ... Please try again later.