get-service BTSSvc* | foreach-object -process {restart-service $_.Name}
In my previous post I demonstrated how you could change the startup type for BizTalk services automatically using PowerShell. This time I will demonstrate how you can create a script that allows us to automatically restart all your BizTalk services:
get-service BTSSvc* | foreach-object -process {restart-service $_.Name}
Sandro Pereira lives in Portugal and works as a BizTalk consultant at DevScope. In the last few years has been working implementing integration scenarios and Cloud Provisioning at a major telecommunications service provider in Portugal. His main focus is on Integration Technologies where is been using .NET, BizTalk and SOAP/XML/XSLT since 2002.
He is an active blogger, member of BizTalk Brazil Community, member and moderator of MSDN BizTalk Server Forums, Code Gallery contributor and was awarded Most Valuable Professional (MVP) for BizTalk Server by Microsoft since 2011. He has certifications for BizTalk Server 2006 and BizTalk Server 2010.
Website: sandroaspbiztalkblog.wordpress.com/Make sure you enter the (*) required information where indicated. HTML code is not allowed.
