How to uninstall Powershell Cmdlets

by Viper 30. January 2009 10:35

I was looking at Microsoft documentation on how to register custom Cmdlets to install one of my Cmdlets. I realized that I made some mistake in the implementation. So I had to uninstall Cmdlet from shell. You will follow the same instructions from documentation with one change. You can specify /u parameter to InstallUtil to uninstall the assembly. So the command will look following:


PS> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
PS> installutil /u SelectStrCommandSample.dll
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

…
The uninstall has completed.


Views: 2707

Tags:

Automation | Powershell

Comments

8/13/2009 7:10:46 PM #

Pulsar Womens Dress Gold

I am quite interesting in this topic hope you will elaborate more on it in future posts.

Pulsar Womens Dress Gold United States

10/8/2009 7:30:10 AM #

combinationboiler

Pleased I encountered this how to article.  How to uninstall Powershell Cmdlets  - I have been searching for facts on how to address this at the moment  and got pulled in by the headline of your posting in a search engine.  Studying text books and journals has not been beneficial but a few web lookups has created a resolution which will assist me greatly.  Could we get by without the Internet.  Thank you, I will use the information and must keep your site as a reference.

combinationboiler United Kingdom

10/19/2009 11:39:38 AM #

cash loans

Interesting post

cash loans United States

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.1.7
Theme by Naveen Kohli