Command/TFS/UndoPendingChanges.ps1
$host.UI.RawUI.WindowTitle = $MyInvocation.MyCommand.Name Write-Output "Undo pending changes . . . " Import-Module CmxModule -Force -DisableNameChecking $result = UndoPendingChanges Write-Output "ExitCode: $($result.ExitCode)" Write-Output "StandardOut: $($result.StandardOut)" Write-Output "StandardError: $($result.StandardError)" Read-Host "Press key to exit" |