Information about all installed BizTalk Cumulative Updates on the Server

Many times we want to know which CU or service pack is installed on machine and sometime we had not documented the information or simply we missed to write somewhere. So we can't reply on the human or old documents. So there are some processes to find the details, I have listed all process below;
  1. Manually 
  2. Using BizTalk MsgBoxViewer
  3. Using PowerShell script
1. Manually: You can find the information manually by checking 
Control Panel => All Control Panel Items => Programs and Features => View Installed Updates. 
But sometimes it is time consuming just to try find them in that huge list because they are not organized in a category BizTalk.


2. Using BizTalk MsgBoxViewer: you can use BizTalk MsgBoxViewer but still if you only want to check what CU are installed, or you need to analyze your entire system with this tool, or you need to uncheck all the select default queries and check only for the cumulative updates – which can also 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 Cumulative Updates installed.
1
2
3
4
This is the list of BizTalk Cumulative Update installed in this machine: BTS2013R2LAB01
- Microsoft BizTalk Server 2013 R2 CU1
- Microsoft BizTalk Server 2013 R2 CU2
- Microsoft BizTalk Server 2013 R2 CU3


3. Using PowerShell script: With using PowerShell you can automate the task and reuse them whenever necessary and at the same time saving significant time for other tasks. 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.

1
2
3
4
5
6
7
8
9
$keyResults = Get-ChildItem -path HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ -Recurse -ErrorAction SilentlyContinue | where { $_.Name -match $CUNameTemplate}
foreach($keyItem in $keyResults)
{
    if ($keyItem.GetValue("DisplayName") -like "*$CUNameTemplate*")
    {
        write-host "-" $keyItem.GetValue("DisplayName").ToString().Substring(0,$keyItem.GetValue("DisplayName").ToString().IndexOf(" CU")+4)
    }
}


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 cumulative updates installed in your machine:

After install the CU in my machine the result was what I was expecting:
1
2
3
4
5
This is the list of BizTalk Cumulative Update installed in this machine: BTS2013R2LAB01
- Microsoft BizTalk Server 2013 R2 CU1
- Microsoft BizTalk Server 2013 R2 CU2
- Microsoft BizTalk Server 2013 R2 CU3
- Microsoft BizTalk Server 2013 R2 CU4

Popular posts from this blog

DTS package BAM_DM_ResendJournalActivity already exists on server

The BAM Portal website Default Web Site is not valid

BizTalk Server Service Pack and cumulative update list