PowerTab 0.9 for PowerShell and Invoke-Intellisense

Two days ago /\/\o\/\/ released PowerTab 0.9 (overview page). He’s got some very nice improvements, one of which was support for my GUI-based intellisense. I’d had a few bugs to fix, and I wanted to re-implement the entire thing as a proper cmdlet instead of a script-with-supporting-assembly (geez), so I went ahead and made my changes.

Click here to download the full source for my SnapIn including my Invoke-Intellisense cmdlet.

Click here if you just want the SnapIn dll itself.

To install this alongside PowerTab 0.9, you’ll have to install my LerchSnapIn snap-in, and add a command to your profile to add the snap-in each time you start a session. Copy Lerch.PowerShell.dll to a folder of your choice, and run the following 2 commands (snagged from here):

PS> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
PS> installutil Lerch.PowerShell.dll

Add the following to your profile:
Add-PSSnapIn LerchSnapIn

Finally, in the TabExpansion.ps1 file that installs with PowerTab, change the following lines (right at the top) from this:

#$AlternateHandler = ‘intellisense’
$AlternateHandler = ‘ConsoleList’

to this:

$AlternateHandler = ‘intellisense’
#$AlternateHandler = ‘ConsoleList’

You should be up and running. Feel free to post back here if you have any problems. Also, as always, I appreciate any and all feedback!

Cheers!

This entry was posted on Wednesday, April 18th, 2007 at 12:45 pm and is filed under powershell. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

8 Responses to “PowerTab 0.9 for PowerShell and Invoke-Intellisense”

  1. aaron Says:

    @David – I haven’t kept up with MoW’s latest PowerTab versions (he’s a mad-man with how often he updates it! :) ).

    When I get a chance I’ll download his latest and update the post appropriately.

    Thanks!

  2. David Says:

    Hi!

    The setup process does not seem to work with Powertab 0.92, as the “$AlternateHandler” does not seem to be used anymore…

    Is “$TabExpansionAlternateHandler” the variable to set ? If so, i didn’t succeed in getting the thing working… I still have the non-graphical completion list…

    Am I missing something ?

    Thanks in advance for your help.

    David

  3. aaron Says:

    Pete – email me at aaronlerch at gmail dot com and I’ll try to help you out.

  4. Pete Gomersall Says:

    Aaron,
    Have updated to powertab 0.9 and intellisense.
    However I cannot get intellisense to work.
    I have done all the steps correctly it seems (tried on Vista & XP SP2). ConsoleList works fine if I set to that.
    Any ideas?
    Pete Gomersall

  5. aaron Says:

    Thanks, glad you like it!

    Although, after seeing screenshots of it lately, it’s sure looking bland. I’ll try to update the UI to something nicer in the near future.

  6. Anonymous Says:

    Aaron,

    A very nice, slick looking snapin! Between this and Marc’s PowerTab, my PS shell has a much nicer feel to them

    Some time ago I considered buying PrimalScript (I use VBS and PS), but I held off and now I see no reason to use a commercial solution anymore.

    For that, THANKS :)

    Cheers

    Adam
    http://www.leadfollowmove.com

  7. /\/\o\/\/ Says:

    Hi Aaron,

    Any chance you’re thinking about making one for Graphical PowerShell ?, as I’m working on PowerTab for the CTP2 version of PowerShell I would be very interested in one ;-)

    Greetings /\/\o\/\/

  8. ittayd Says:

    any chance for intellisense update for powertab 2?