Update

We updated the provider for BizTalk Server 2013 and 2013 R2 and it is now available for download on the BizTalkFactory PowerShell Provider 1.4.0.1 page.

We encourage anyone to download our official release of the provider. Please, leave feedback and use the Feature Request Thread to help improve this product.

Latest release: https://psbiztalk.codeplex.com/releases/view/108091

Project Description

A Provider for powershell that allows to administrate your BizTalk Server.

The BizTalkFactory PowerShell Provider is a PowerShell Snap-In for BizTalk Server 2006 R2, BizTalk Server 2009, BizTalk Server 2010, BizTalk Server 2013 and BizTalk Server 2013 R2 that allows developers and administrators to easily automate routine and complex BizTalk administration tasks such as deploying applications, and managing configuration and run-time data using Windows PowerShell. Administrators can further increase productivity by leveraging the many cmdlets included with BizTalkFactory PowerShell Provider.

The project is divided into two components :


BizTalkFactory Management Automation (SDK)

The BizTalk Factory Management Automation assembly is a complete hierarchical object model over BizTalk artifacts. It enables you to perform various tasks on BizTalk groups, including administrating and deploying BizTalk solutions. Its goal is to provide a façade over various underlying technologies in a single unified object library. It currently wraps Microsoft.BizTalk.ExplorerOM, Microsoft.BizTalk.ApplicationDeployment, as well as BizTalk WMI objects in order to perform its processing.

The BizTalk Factory Management Automation is designed to be a supporting library for the BizTalk PowerShell Provider, but it can be used as a standalone project that does not incur any dependencies on PowerShell. This makes it an ideal candidate for use in your own programming projects around administrating and manipulating BizTalk artifacts.

BizTalkFactory PowerShell Provider

The BizTalk PowerShell Provider is designed to give you access to most BizTalk artifacts by simply "navigating" through a virtual tree hierarchy. At each node in the hierarchy you can find an object that you can use to perform various administrative functions, such as starting an application, creating a new host instance, exporting an application to a Windows Installer MSI package, etc.

You can also perform several operations simultaneously by taking advantage of the PowerShell pipeline. For instance, you can stop all applications of a given BizTalk group by simply issuing the familiar Get-ChildItem command and piping the result to the Stop-Application CmdLet.

Project Releases

BizTalk Factory PowerShell Provider
https://psbiztalk.codeplex.com/releases/view/108091
Status: 1.3.0.1
Please, refer to the Releases tab for download instructions.
Please, refer to the Getting Started guide for proper installation and usage notes.

Getting Started

In order to make use of the BizTalk PowerShell Provider, please execute the following commands from within the PowerShell console. You can also put these commands into your profile or export the shell afterwards.

    Add-PSSnapIn BizTalkFactory.PowerShell.Extensions
    
    Function Biztalk: { Set-Location Biztalk: }
    Function Biztalk:\ { Set-Location Biztalk:\ }
    
    Set-Alias Enlist-SendPort Stop-SendPort


A Getting Started guide. Please, refer to this document for latest features and known issues.

Available CmdLets

The following cmdlets are available in this provider:
  • Add-ApplicationReference
  • Remove-ApplicationReference
  • Add-ApplicationResource
  • Set-DefaultApplication
  • Start-Application
  • Stop-Application
  • Export-GroupSettings
  • Import-GroupSettings
  • Start-HostInstance
  • Stop-HostInstance
  • Reset-HostInstance
  • Start-Orchestration
  • Stop-Orchestration
  • Enlist-Orchestration
  • Unenlist-Orchestration
  • Disable-ReceiveLocation
  • Enable-ReceiveLocation
  • Start-SendPort
  • Stop-SendPort
  • Enlist-SendPort
  • Unenlist-SendPort
  • Start-SendPortGroup
  • Stop-SendPortGroup
  • Enlist-SendPortGroup
  • Unenlist-SendPortGroup
  • Import-Application
  • Import-Bindings
  • Import-Policy
  • Get-ApplicationResourceSpec
  • Export-Application
  • Export-Bindings
  • Export-Policy
  • Export-Vocabulary
  • Deploy-Policy
  • Undeploy-Policy


You can also use the New-Item and Remove-Item builtin CmdLet to create and remove the following objects:
  • Application
  • Schema (remove only)
  • SendHandler
  • SendPort
  • SendPortGroup
  • Host
  • HostInstance
  • Orchestration (remove only)
  • Policies (remove only)
  • Pipeline (remove only)
  • ReceiveHandler
  • ReceiveLocation
  • ReceivePort
  • Resource


Most artifacts also support setting properties via the Set-ItemProperty CmdLet.

How to Contribute

You can contribute in many ways to this project. We ask that in order to join the project, you provide a first contribution, either to the documentation or the source code of the project. Please, keep in touch with us first so that we can coordonate who is doing what.

You may have a look to the following "Planned Features" section below for a comprehensive list of further planned changes. These are actual hints as to what contributions we might expect. Please, do not hesitate to provide your own ideas for a contribution if it does not already appear in this list.

Planned Features

A Feature Request Thread has been setup. This is the place you can influence the next release of the provider! Please, do not hesitate to leave feedback.

Contributors

Ben Cline

Ben works in the US as a BizTalk Architect at Paylocity and has been a BizTalk MVP for a couple years. He also works as an independent consultant. He occasionally blogs at MS Innovations.

Randal van Splunteren

Randal works as a consultant in the Netherlands.

He focuses on Microsoft .Net technology especially on Microsoft BizTalk Server. He has customer experience with all BizTalk versions (2000, 2002, 2004, 2006, 2006 R2). On his blog he tries to write useful stuff about .Net and BizTalk. Certifications: MCAD, MCTS: BizTalk Server 2004, BizTalk Server 2006 & BizTalk Server 2006 R2. Randal received the MVP award for BizTalk in 2010 and 2011.

Michel Hubert

Michel works as an information systems architect in France.

He has been awarded the MVP award for BizTalk for several years and is now focusing on Windows Azure, for which he received the MVP award in 2011 , Michel maintains a blog where he writes about various bits and topics about Microsoft.

Maxime Labelle

Maxime works as a consultant in France.

He has been designing and developing applications using Microsoft tools and languages for almost 15 years. As a Solutions Architect, he primarily focuses on systems integration and Service Oriented Architecture but likes to keep an eye on software development and Application Lifecycle Management. Among specialists circles, rumor has it that Maxime loves to tackle obscure problems related to encodings and character sets. He has received the MVP award for BizTalk in 2011 and tries and maintain a technical blog on BizTalk and various Microsoft-related technologies.

Last edited Oct 8 at 1:23 PM by mlabelle, version 66