You can also restart all BizTalk host instances (or BTS Services) in a single PowerShell command this way:
get-service BTS* | foreach-object -process {restart-service $_.Name}
You can also set all your BTS (BizTalk) Services (host instances) to start ‘automatic’ as follows:
get-service BTS* | foreach-object -process {set-service $_.Name -startuptype automatic}
Download
THIS POWERSHELL IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND.
You can download How to Restart BizTalk Server services with PowerShell from GitHub here:
Author: Sandro Pereira
Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc.
He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.
View all posts by Sandro Pereira
Hi predro,
can you please explain this a bit more