ARTICLE

How to install or uninstall dll in GAC using powershell

Posted by Vijai Anand Articles | Windows PowerShell March 10, 2011
In this article we will be seeing how to install or uninstall dll in GAC using powershell script.
Reader Level:

In this article we will be seeing how to install or uninstall dll in GAC using powershell script.

In this article

  • Install a dll into GAC using powershell script
  • Uninstall a dll from GAC using powershell script

Powershell Scr ipt:

Set-Alias
Name: Gacutil
Value: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe

GAC1.gif

Install a dll:

Gacutil /i D:\anavijai.sample.dll

GAC2.gif

Uninstall a dll:

Gacutil /u anavijai.sample

Login to add your contents and source code to this article
comments
COMMENT USING
PREMIUM SPONSORS
Nevron Software is a global leader in component based data visualization technology for a diverse range of Microsoft centric platforms. Nevron Data Visualization components are used by many companies, educational and government organizations around the world.
Nevron Chart
SPONSORED BY
HTML 5 + JQUERY CONTROLS