BizTalk Assessment: How to check what BizTalk Server 2016 Feature Packs are installed on your Servers with PowerShell

We cannot rely on documentation if they exist, to be accurate, especially regarding the status of the machines present in the environment that tell us what is installed on the machine or not. This script follows the sequence of scripts that I release in the past to check what Cumulative Updates where installed in the machines.

However, Microsoft introduces a new concept within BizTalk Server 2016, it calls Feature Packs.

BizTalk Server 2016 will use Feature Pack (FP) approach to providing new functionalities to the product at a faster pace. Now new features (or at least non-breaking features) will be delivered when they’re ready we no longer need to wait 2 years for the next major release of the product to have new features!

BizTalk Server uses the feature pack to provide improvements, features, and closer integration with Azure. Feature Pack 1 extends functionality in key areas, such as deployment, analytics, and runtime. – https://msdn.microsoft.com/en-us/library/mt800834.aspx

Feature Pack’s will be available for Software Assurance customers running BizTalk Server 2016 Developer and Enterprise editions or customers running BizTalk Server 2016 in Azure under an Enterprise Agreement

With this, people in charge of monitoring and maintaining BizTalk Server environments will have to not only check if all the Cumulative Updates (nevertheless, this is the most critical operation) but if their organization decide to install FP, they also need to check if and what feature packs are installed in which machine.

Although it seems simple, this operation is just or more painful to perform as the cumulative updates.

Of course, there are some ways to check that, for example:

  • you can do it manually by checking “Control Panel\Programs\Programs and Features” and then view the “View Installed Updates”, however, this can be a very annoying task and sometimes time-consuming.
Programs-and-features-List-BizTalk-Server-2016-feature-packs
  • you can use Windows Registry but still if you only want to check what FPs that are installed this will be an annoying and time-consuming task.

Probably there are other ways, nevertheless, I just want a quick and very easy way, because this is a basic and very simple task, to know what are the BizTalk Server 2016 Feature Packs installed like:

Microsoft BizTalk Server 2016 Feature Pack 1 is installed
Microsoft BizTalk Server 2016 Feature Pack 2 is installed

How to check what BizTalk Server 2016 Feature Packs

So how can we easily automate tasks? and reuse them whenever necessary and at the same time save significant time for other tasks?

Using PowerShell is a good option. Windows PowerShell is a Windows command-line shell designed especially for system administrators and can be used by BizTalk administrators to help them in automating repetitive tasks or tasks that are time-consuming to perform manually.

This is a simple script that allows you to configure the template name of the feature packs, that may change from version to version (FP1, FP2, …), and will give you the list of all Feature Packs installed on your machine:

$keys = Get-ChildItem -Path Registry::'HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\E-Business Servers Updates\'

#...

foreach ($key in $keys)
{
    if($findF1 -eq $true)
    {
        break
    }

    foreach ($Property in $key.Property)
    {
        if ($Property -like '*Microsoft BizTalk Server 2016 Feature Pack 1*')
        {
            $findF1 = 1
            Write-Host 'Microsoft BizTalk Server 2016 Feature Pack 1 is installed'
            break
        }
    }
}

#...

     foreach ($Property in $key.Property)
    {
        if ($Property -like '*Microsoft BizTalk Server 2016 Feature Update 2*')
        {
            $findF2 = 1
            Write-Host 'Microsoft BizTalk Server 2016 Feature Pack 2 is installed'
            break
        }
    }

#...

if(($findF1 -eq $false) -And ($findF2 -eq $false))
{
    Write-Host 'Microsoft BizTalk Server 2016 Feature Pack is not installed'
}
PowerShell-List-BizTalk-Server-2016-feature-packs

Download

THIS POWERSHELL IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND.

You can download Check which BizTalk Server 2016 Feature Packs installed with PowerShell from GitHub here:

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 *

turbo360

Back to Top