How to check what BizTalk Server 2010 Cumulative Updates are installed in your Servers with PowerShell

I think we all need to maintain old environments and this was one of these days for me – BizTalk Server 2010 – and the first thing I needed to do was to check and install the latest Cumulative Updates for BizTalk Server and BizTalk Adapter Pack.

Following my last post, How to check what BizTalk Server 2016 Cumulative Updates are installed in your Servers with PowerShell, I decided to change the script, this time creating one focused on BizTalk Server 2010 and share with the community.

This script is a little different from the 2016 version because, since BizTalk Server 2013 R2, Cumulative Updates for BizTalk Server, Adapter Pack, and Accelerators are all part of a single download. In earlier versions, such as BizTalk Server 2010, there were dedicated versions for BizTalk Server and BizTalk Adapter Pack.

PowerShell to check what BizTalk Server 2010 Cumulative Updates are installed in your Servers with PowerShell: This is a simple script that allows you to configure the template name of the cumulative updates, that will change from version to version, and will give you the list of all BizTalk Server 2010 cumulative updates installed on your machine:

This is the list of BizTalk Cumulative Update installed in this machine: BTS2010LAB01 
- Biztalk Adaptor Framework 2010 CU1 
- Microsoft Biztalk Server 2010 CU1 
- Microsoft BizTalk Server 2010 CU2 
- Microsoft BizTalk Server 2010 CU3 
- Microsoft BizTalk Server 2010 CU4 
- Microsoft Biztalk Server 2010 CU5 
- Microsoft Biztalk Server 2010 CU6

The sample script (the link to the full script is available at the end of this post):

if($keyResults.Count -gt 0) 
{ 
    write-host "This is the list of BizTalk Cumulative Update installed in this machine: $env:computername" 
} 
else 
{ 
    write-host "There is the no BizTalk Cumulative Update installed in this machine: $env:computername" 
}     
 
foreach($keyItem in $keyResults) 
{ 
    if (($keyItem.GetValue("DisplayName") -like "*$CUNameTemplate*") -or ($keyItem.GetValue("DisplayName") -like "*$CUAdapterNameTemplate*")) 
    { 
        write-host "-" $keyItem.GetValue("DisplayName").ToString().Substring(0,$keyItem.GetValue("DisplayName").ToString().IndexOf(" CU")+4) 
    } 
}

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

Check what BizTalk Server 2010 Cumulative Updates are installed with PowerShell (3 KB)
Microsoft | TechNet Gallery

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.

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top