$gacfolder = 'c:\Program Files (x86)\Pectra Technology\Pectra BPMSuite\Common\GAC\' iisreset /stop Stop-Service 'PECTRA BAM Service' -PassThru Stop-Service 'PECTRA Designer Service Interface' -PassThru Stop-Service 'PECTRA Digital Gate Service' -PassThru Stop-Service 'PECTRA Engine Service' -PassThru Stop-Service 'PECTRA Engine Service Interface' -PassThru Stop-Service 'PectraEvdService' -PassThru Stop-Service 'PECTRA LOG Manager' -PassThru Stop-Service 'PectraNewsRssService' -PassThru Stop-Service 'PectraNtfService' -PassThru Stop-Service 'PectraRbtService' -PassThru Stop-Service 'PectraSchService' -PassThru Stop-Service 'WFService' -PassThru [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") $publish = New-Object System.EnterpriseServices.Internal.Publish $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.BPService.Entities.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.BPService.Components.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.BPService.Data.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.BPService.Data.SqlClient.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.RbtProcessor.dll") $publish.GacRemove($gacfolder + "PectraOBPINET.dll") $publish.GacRemove($gacfolder + "Prominente.DvProductos.Helpers.Data.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Common.Common.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.RbtScriptEngine.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.EvdProcessor.dll") $publish.GacRemove($gacfolder + "PECTRA.BPMSuite.Services.SchProcessor.dll")