Check a file into TFS using Powershell
问题 As part of my continuous integration build I am creating an SQL script. This SQL script has to be checked back in to TFS after it is generated. I'm using the TFS Powertools in Powershell. The code I used on my machine was: Add-TfsPendingChange -Add -Item $filename | New-TfsChangeSet This worked fine on my dev box because the folder I was in is mapped to a TFS workspace. When I move it to my build server it no longer works because TeamCity doens't map it's checkouts to a workspace it just