Skip to content

Instantly share code, notes, and snippets.

@jstangroome
jstangroome / Remove-WorkflowPresentation.ps1
Created March 21, 2012 00:02
Strip elements and attributes added to a TFS 2010 Build Process Template by the designer for a cleaner change history
#requires -version 2.0
[CmdletBinding()]
param(
[parameter(Mandatory=$true)]
[ValidateScript({ $_ | Test-Path -PathType Leaf })]
[string]
$Path
)
function New-XmlNamespaceManager ($XmlDocument, $DefaultNamespacePrefix) {