top of page

How to install or uninstall dll in GAC using powershell

Writer's picture: Vijai Anand RamalingamVijai Anand Ramalingam

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 Script:

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


Install a dll:

Gacutil /i D:\anavijai.sample.dll


Uninstall a dll:

Gacutil /u anavijai.sample

Comments


bottom of page