Administering BizTalk with PowerShell: Part 1

Link. September 1, 2006. Comments [2]. Posted in: BizTalk | 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!



Friday, September 01, 2006 10:53:52 PM (SA Pacific Standard Time, UTC-05:00)
If you like Windows PowerShell's WMI support now - wait till you see what you get with RC2 (availability is not announced yet).

Check out the details at:
http://blogs.msdn.com/powershell/archive/2006/06/26/647038.aspx

Jeffrey Snover [MSFT]
Windows PowerShell/Aspen Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
Jeffrey Snover
Friday, September 01, 2006 10:56:23 PM (SA Pacific Standard Time, UTC-05:00)
Hi Jeffrey,

Yep, I'm quite looking forward to it :)
Heck, Actually I'm looking to the actual final bits so I can replace my usual cmd.exe prompt on my desktop with a powershell one :)
Comments are closed.

Syndicate

About

Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...

tomasrestrepo @ twitter My Flickr photostream My saved links on delicious My Technorati Profile

email: tomas@winterdom.com
msn: tomasr@passport.com

View my profile on LinkedIn

MVP logo

Ads


Links

Categories

Statistics

Total Posts: 1024
This Year: 94
This Month: 1
This Week: 2
Comments: 795

Blogroll

Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 2.1.8139.823

Sign In