[Reflection.Assembly]::LoadWithPartialName(“System.EnterpriseServices”) > $null
[System.EnterpriseServices.Internal.Publish] $publish=New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall(“<DLL的完整路径>”)
[Reflection.Assembly]::LoadWithPartialName(“System.EnterpriseServices”) > $null
[System.EnterpriseServices.Internal.Publish] $publish=New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall(“<DLL的完整路径>”)
© 版权声明
文章版权归作者所有,未经允许请勿转载。