Skip to content

Instantly share code, notes, and snippets.

View BrandtLassen's full-sized avatar

Michael Brandt Lassen BrandtLassen

View GitHub Profile
@BrandtLassen
BrandtLassen / MoveBizTalkDatabases.ps1
Created September 3, 2014 14:04
Script to update a BizTalk installation after the BizTalk databases have been moved to another database server. This script will work only for single server BizTalk groups without BAM and only when all databases are on the same server and instance.
<#
.SYNOPSIS
Script to update a BizTalk installation after the BizTalk databases have been moved to another database server.
.DESCRIPTION
Use this script to update a BizTalk installation (front-end and database) after BizTalk databases have been moved to another database server.
The script is to be executed on the BizTalk front end server.
This script will work only for single server BizTalk groups without BAM and only when all databases are on the same server and instance.
.PARAMETER newDBServer
the new management database location
.PARAMETER restorePath
@BrandtLassen
BrandtLassen / FixPerformanceCounters.sp1
Created May 23, 2014 11:05
Recreate BizTalk performance counters after in-place upgrade of BizTalk 2010 to BizTalk 2013
param([Switch]$Fix, [Switch]$Verbose)
<#
During our testing of in-place upgrades of BizTalk 2010 to BizTalk 2013 we've seen performance counters disappear (especially the BizTalk:Message Agent and BizTalk:Messaging counters).
Inspired by:
• http://blogs.msdn.com/b/biztalkperformance/archive/2007/09/30/how-to-manually-recreate-missing-biztalk-performance-counters.aspx
• http://blogs.msdn.com/b/biztalkcpr/archive/2010/06/23/have-you-manually-recreated-the-biztalk-performance-counter-using-the-following-link-but-some-of-the-counters-were-still-missing.aspx