Groups > Microsoft > Windows PowerShell > Re: Uninstalling PowerTab




Uninstalling PowerTab

Uninstalling PowerTab
Tue, 8 Apr 2008 04:15:15 -0700
Hi,

Does anyone have any information about how to completely uninstall
PowerTab? I have it installed on all of my machines and love it but a
colleague has asked me how to remove it, there's nothing in the
readme.txt that I can see.

/\/\O\/\/ has a post on his site saying something about choosing "mode
1" to remove it but it isn't so clear to me what is meant by that.

Any help appreciated.

Thanks,
Post Reply
Re: Uninstalling PowerTab
Wed, 9 Apr 2008 04:51:11 -0700
Thanks Marco - Thats done the trick.
Appreciated as always,
Post Reply
Re: Uninstalling PowerTab
Wed, 09 Apr 2008 08:40:58 -030
Kryten wrote:
> Hi,
> 
> Does anyone have any information about how to completely uninstall
> PowerTab? I have it installed on all of my machines and love it but a
> colleague has asked me how to remove it, there's nothing in the
> readme.txt that I can see.
> 
> /\/\O\/\/ has a post on his site saying something about choosing
"mode
> 1" to remove it but it isn't so clear to me what is meant by that.
> 
> Any help appreciated.
> 
> Thanks,
> Stuart

By default, PowerTab should but its initialization routine in the 
system-wide PowerShell profile.

To check it out:
PSH> notepad $profile

You should see the relevant PowerTab section.  You just need to comment 
out these lines like this:

# Initialize PowerTab

#& 'C:\powershell\powertab\Init-TabExpansion.ps1' `
#     -ConfigurationLocation 'C:\...\My Documents\WindowsPowerShell'

Now that disables PowerTab, but doesn't uninstall it.

So based on the above, c:\powershell\powertab is my PowerTab directory.

To completely remove PowerTab, I would:
1. Remove the entire PowerTab code section from $profile (pretty clearly 
delimited, I think).
2. Remove the directory c:\powershell\powertab (in my case).

Marco


-- 
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
Post Reply
about | contact