Last active
August 29, 2015 13:56
-
-
Save jjaramillo/8937430 to your computer and use it in GitHub Desktop.
How to copy a dll to GAC in windows server 2012 using powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") | |
$publish = New-Object System.EnterpriseServices.Internal.Publish | |
$publish.GacInstall("mydllpath") | |
iisreset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment