BizTalk Server Windows Management Instrumentation (WMI) classes whitepaper

  • Sandro Pereira
  • Aug 25, 2022
  • 5 min read

Windows Management Instrumentation (WMI) is Microsoft’s implementation of Web‑Based Enterprise Management (WBEM). Essentially, it provides a unified way to manage devices and applications across Windows‑based systems. Moreover, you can create WMI scripts or applications to automate administrative tasks on remote machines. In addition, WMI supplies management data to other parts of the operating system and to several Microsoft products, such as System Center Operations Manager (formerly MOM) and Windows Remote Management (WinRM). Because of this, administrators and IT professionals can use WMI to centralize operations, streamline automation, and improve visibility across their environments.

📝 One-Minute Brief

A practical whitepaper that explains how BizTalk Server exposes its administration and operational features through Windows Management Instrumentation (WMI). It covers the core BizTalk WMI classes, their purposes, and how they can be used—especially through PowerShell—to automate tasks, query BizTalk configuration, and manage infrastructure components such as hosts, adapters, message instances, queues, and orchestrations.

WMI is designed for programmers who use C/C++, Microsoft Visual Basic, or scripting languages that run on Windows and support Microsoft ActiveX objects. However, many administrators and IT professionals prefer to access WMI through PowerShell instead. For example, the PowerShell Get-WMI cmdlet lets you quickly and efficiently retrieve information from a local or remote WMI repository.

In addition, Microsoft includes WMI by default in all modern Windows operating systems, making it readily available to administrators. As a result, WMI helps teams manage different Windows environments, including remote systems, with greater consistency. Furthermore, one of its biggest advantages is the ability to reduce maintenance tasks and lower the overall cost of managing enterprise network components.

BizTalk Server Windows Management Instrumentation (WMI) classes

BizTalk Server WMI classes

Windows Management Instrumentation (WMI) classes are used to programmatically access the administrative functions available in Microsoft BizTalk Server. Working together with PowerShell will be a winning match for IT Teams that need to manage BizTalk Server infrastructure and applications.

The Windows Management Instrumentation (WMI) classes in this table are used to manage the core objects associated with BizTalk Server, such as servers, queues, groups, and message handlers.

ClassDescription
MSBTS_AdapterSettingRegisters new adapters with Microsoft® BizTalk® Server.
MSBTS_BTSObjectThis type of member supports the BizTalk Server infrastructure and is not intended to be used directly from your code.
MSBTS_DeploymentServiceEncapsulates BizTalk assemblies for deployment or undeployment and bindings export or import.
MSBTS_GroupSettingRepresents a logical grouping of BizTalk Servers.
MSBTS_HostRepresents a BizTalk Server Host.
MSBTS_HostInstanceRepresents a single instance of a BizTalk Host.
MSBTS_HostInstanceSettingUpdates the IsDisabled property when a host is in the stopped state.
MSBTS_HostQueueRepresents an application.
MSBTS_HostSettingCreates a BizTalk Server Host setting.
MSBTS_MessageInstanceRepresents a message instance.
MSBTS_MessageInstanceSuspendedEventRepresents a suspended event for a BizTalk Message Queuing (MSMQT) message instance.
MSBTS_MsgBoxSettingRepresents a single MessageBox setting in the BizTalk Server group.
MSBTS_OrchestrationRepresents an instance of an orchestration that belongs to the installed module.
MSBTS_ReceiveHandlerRepresents an individual receive handler defined by BizTalk Server.
MSBTS_ReceiveLocationRepresents an individual receive location defined by BizTalk Server.
MSBTS_ReceiveLocationOrchestrationRepresents all possible combinations of receive locations and orchestrations.
MSBTS_ReceivePortRepresents an individual receive port defined by BizTalk Server.
MSBTS_SendHandlerRepresents an individual send handler defined by BizTalk Server.
MSBTS_SendHandler2Represents an extended individual send handler defined by BizTalk Server.
MSBTS_SendPortRepresents an individual send port defined by BizTalk Server.
MSBTS_SendPortGroupRepresents a group of send ports defined by the BizTalk Server.
MSBTS_SendPortGroup2SendPortRepresents an extended group of send ports defined by the BizTalk Server.
MSBTS_ServerRepresents computers within a group that have BizTalk Servers installed.
MSBTS_ServerHostReflects mappings between BizTalk servers and BizTalk Hosts.
MSBTS_ServerSettingRepresents specific computers within the BizTalk group that have BizTalk Servers installed. Instances of this class are intended to be created and deleted internally through BizTalk Server only. Do not create or delete instances of this class explicitly through WMI.
MSBTS_ServiceThis type of member supports the BizTalk Server infrastructure and is not intended to be used directly from your code.
MSBTS_ServiceInstanceProvides an instance of service with a start and stop functionality.
MSBTS_ServiceInstanceSuspendedEventRepresents a suspended event for a service instance.
MSBTS_SettingThis type of member supports the BizTalk Server infrastructure and is not intended to be used directly from your code.
MSBTS_TrackedMessageInstanceRepresents a message instance.
MSBTS_TrackedMessageInstance2Represents an updated message instance.

What’s in store for you?

This whitepaper provides a comprehensive overview of all BizTalk Server WMI classes and explains how to use them effectively. In addition, each WMI class includes a practical PowerShell sample so you can easily apply these concepts in real BizTalk Server scenarios.

Where can I download it?

You can download the whitepaper here:

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top