Monday, 20 February 2012 10:25

How to Restart BizTalk services with PowerShell

Written by 
Rate this item
(2 votes)

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}

Read 2335 times
Sandro Pereira

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.

twitterlinkedin

Website: sandroaspbiztalkblog.wordpress.com/

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.