Skip to content

Instantly share code, notes, and snippets.

View stephengodbold's full-sized avatar

Steve Godbold stephengodbold

View GitHub Profile
@stephengodbold
stephengodbold / killscc.ps1
Last active September 25, 2015 18:48 — forked from jstangroome/killscc.ps1
Removes source control bindings, and optionally backs up the original files
#requires -version 2.0
param (
[ValidateScript({$_ | Test-Path -PathType Container})]
[Parameter(Mandatory=$true)]
[string] $folder,
[switch] $backup
)
function killScc(){
gci -path $folder -i *.vssscc,*.vspscc -recurse | Remove-Item -force -verbose