Build/Invoke-RemoveDevEnvironment.ps1

Param(
    [Parameter(Mandatory=$true,Position=1)]
    [string]$RepoName,
    [Parameter(Mandatory=$true,Position=2)]
    $BuildNumber
)

Import-Module 'C:\TFs\Tfs Tools\Tecman.Tfs.Tools.psm1'

$InstanceName = '{0}{1}' -f $RepoName, $BuildNumber

Remove-DevEnvironment -ServerInstance $InstanceName