Skip to content

Instantly share code, notes, and snippets.

@tylerd
tylerd / Remove-WorkflowPresentation.ps1
Created March 28, 2012 14:45 — forked from jstangroome/Remove-WorkflowPresentation.ps1
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) {