In below following complete PowerShell script is to start and stop all BizTalk host instances. There is a filter condition with '-notlike' powershell command where if you want to avoid host instance by the host name. There are two functions one is for start host instance and second one is for stop host instance. You go ahead and use accordingly your requirement. # Import external assembly and create a new object [ void ] [ System.reflection.Assembly ]:: LoadWithPartialName( "Microsoft.BizTalk.ExplorerOM" ) $Catalog = New-Object Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer #BizTalk Config $Catalog . ConnectionString = "SERVER=JEETU;DATABASE=BizTalkMgmtDb;Integrated Security=SSPI" #connectionstring for the BizTalkMgmtDb $Hostinst = "" # Define variable for host instances $resultToWrite = "" $OutResultLog = 'E:\Biztalk\BizTalkLive\BizTalkPowerShellService\StartStopHostInstnace\logStartStopHostInsta...
Behind creating this blog to provide very useful BizTalk concepts and most important that how to resolve BizTalk Errors. In this blog I am glad to share my past and vast experience that relate to BizTalk Server as well as their supporting topics like ESB, BAM, BRE, HAT, PAL etc.. Sometime you feel away-some when your problem has resolved with the helps of my blog then please share your comment. This is my personal blog and never related to my Employer.