Tuesday, February 10, 2009

PowerShellPlus v2.1 Beta – A Cool Feature

As I noted in in a recent blog post, Idera has released a new beta for PowerShell Plus 2.1. I’ve  been using it a bit lately and I can’t wait for it to go final!

One really neat feature I discovered today is the Shft+Enter feature. If like me, you find CMD.EXE still has the occasional feature that PowerShell doesn’t quite meat (dir /s and dir /ad are two that are much harder in PowerShell), then you can enter the command and instead of hitting Enter, hit Shift+Enter and the cmd will be run by CMD.EXE. So inside PowerShell Plus, it looks like this:


PSH [C:\]: dir foo*.* /s         <--- plus Shift+Enter
Volume in drive C is XP_32bit
Volume Serial Number is 44B8-CFED

Directory of C:\

10/02/2009  16:59    <DIR>          foo
               0 File(s)              0 bytes

Directory of C:\foo

10/02/2009  16:59                 7 foo.foo
16/05/2008  13:18           121,306 foo.txt
               2 File(s)        121,313 bytes

Directory of C:\WINDOWS\Help\Tours\htmlTour

04/08/2004  12:00             1,777 footer.htm
               1 File(s)          1,777 bytes

     Total Files Listed:
               3 File(s)        123,090 bytes
               1 Dir(s)   8,188,985,344 bytes free
PSH [C:\]:

Super cool!  Yet another reason for serious scripters to buy PowerShell Plus!

Technorati Tags: ,

No comments: