Skip to content

Instantly share code, notes, and snippets.

@andyhuey
Created April 26, 2013 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyhuey/5471072 to your computer and use it in GitHub Desktop.
Save andyhuey/5471072 to your computer and use it in GitHub Desktop.
TFS status
[string]$tf = "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe"
[string]$npp = "C:\Program Files (x86)\Notepad++\notepad++.exe"
# [string]$tempFile = [System.IO.Path]::GetTempFileName()
[string]$tempFile = "$env:temp\tfStatus.txt"
pushd
cd c:\ax2012tfs
& $tf status > $tempFile
popd
& $npp $tempFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment