Powershell provider for BizTalk

13 October 2008

During the last months I’ve become a big fan of Powershell. It is a great shell which allows you to do things in a very flexible manner. When it comes to BizTalk administration tasks however most of the time you end up writing scripts that use WMI to do things.

I would be great if BizTalk developers or administrators:

  • just could walk through the biztalk artifacts in the same way we do with file folders.
  • have a (rich) set of powershell cmdlets aimed at BizTalk.

In other words we need a: Powershell provider for BizTalk. Searching the internet resulted in nothing. I found one initiative but that did not seem to have started and there were also no downloadable bits.

Anyway I decided to code a BizTalk provider myself. I have copied the artifact hierarchy tree used in the BizTalk Administration Console as much as possible (see screenshots below). The provider also supports tab completion which makes it very easy to navigate through the BizTalk artifacts.

The screenshot below contains an example of a BizTalk cmdlet to stop a specific host.

Although I’ve been very, very busy with this in the last couple of weeks there is still a lot of work to be done. So why am I telling you about this when there are no downloadable bits yet. There are two reasons:

  • I hope there are BizTalkers out there that use Powershell and want to test my provider eventually. (If so drop a comment or e-mail).
  • I want to make a list of first release cmdlets that should be included. (Suggestions? Let me know!)

Message creation

13 October 2008

In March Yossi Dahan blogged about various ways to create messages from scratch in an orchestration. In his post (in the comments) he also mentioned he would be very interested in the performance characteristics.

I shared this interest with him an decided to spend some time on a small test solution to measure the performance. Because I wanted to be sure about my results (and also because this was his blog subject ;-) ) I asked the real expert (Yossi) to validate my results.

With a (little delay :-) ) Yossi posted about the results.

Thanks Yossi.


Follow

Get every new post delivered to your Inbox.