Created
January 11, 2016 10:35
-
-
Save rsleggett/4cd0594cde1b3beb57fa to your computer and use it in GitHub Desktop.
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
Write-Host "Running Content Manager upgrade script" | |
$items = Get-ChildItem -File -Path dd4t-tbb | |
[Reflection.Assembly]::LoadWithPartialName("System.EnterpriseServices") | Out-Null | |
[System.EnterpriseServices.Internal.Publish] $publish = new-object System.EnterpriseServices.Internal.Publish | |
foreach($item In $items) | |
{ | |
Write-Host "Installing $item in GAC" | |
$publish.GacInstall($item.FullName) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment