Category: TFS

Using PowerShell’s Invoke-RestMethod to Access VSTS OData

Given that Microsoft has abandoned their TFS CmdLets, one alternative is to access VSTS data is through the OData interface using the Invoke-RestMethod. Before you begin you need to setup Alternate authentication credentials by navigating to https://<yourtenant>  Once these are established, you will likely want to save them to a local PowerShell variable so that they […]

Code Reviews

I absolutely love code reviews. My team uses a very informal asynchronous method for doing code reviews. When changes are made, a code review request is sent to the other members of the team. As people have time, they will look over the code review requests and provide feedback. Pretty painless; the way a code […]

Transitioning between Sprints/Iterations with Team Foundation Server (TFS)

Post updated for and Visual Studio 2013 Update 5:, or VSO, recently added support for the query token @CurrentIteration.  @CurrentIteration can be used in your queries to refer to the sprint or iteration that is currently in process.  This eliminates the need to create your own Current iteration as described in our original post below.  This […]

Remembering TFS Credentials (from a non-Domain Windows Client)

As a consultant, I am repeatedly connecting to customer Team Foundation Server (TFS) servers that are not on the same domain as my client workstation.  As a result, I am repeatedly prompted for credentials each time I launch Visual Studio or connect to TFS web. Notice, there is no “Remember Credentials” check box so seemingly […]

Configuring Windows SMTP Server on Windows 2008 for Relay

My SMTP mail server requires that email be sent with TLS encryption and on port 587.  This makes it problematic for Team Foundation Server (TFS) to send emails directly.  To work around the problem, I installed the Windows 2008 SMTP Server service and configured it for relaying to my real SMTP mail server.  Install SMTP […]