« Exception Management Rules | Main | BTSReset with PowerShell »
As many of you know, BizTalk Server has a fairly extensive WMI object model you can use to manage and run your BizTalk servers. As even more of you know, WMI is a pain in the neck to work with from pretty much anywhere, particularly C#.
However, PowerShell does make it a lot easier and actually even fun, since you can interactively execute and test any WMI query you need to perfection! Given that, it will make a nifty complement to working with BizTalk Server's WMI model. Here's something to open your appettite: List your BizTalk Hosts on the local server:
$hosts = get-wmiobject MSBTS_HostInstance -namespace 'root\MicrosoftBizTalkServer'$hosts | sort HostName | ft HostName, HostType
I'll demonstrate some more interesting options in later posts!
Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...
email: tomas@winterdom.com msn: tomasr@passport.com
Copyright © 2002-2008, Tomas Restrepo.
Powered by: newtelligence dasBlog 2.1.8139.823