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>.visualstudio.com/_details/security/altcreds. Once these are established, you will likely want to save them to a local PowerShell variable so that they […]
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 […]
If you have had a Team Foundation Server (TFS) instance running for any significant length of time you undoubtedly have old shelvesets lying around from other developers (surely you wouldn’t have done this) that have long ago expired and although moldy, they have not disintegrated. Consider cleaning them up using the following short PowerShell script […]
Recently I came across a need to know where a Team Foundation Server 2010 build definition dropped the files after a successful build. I probably could have written a custom Activity and queried TFS in C# code, but the build definition in question heavily leverages PowerShell and the Psake domain specific language, so I wanted […]
Visual Studio Team Foundation Server 11 supports SMTP Settings as shown in the following screen shot. As shown in the screen capture, it even supports a Certificate Thumbprint. As a result, you can configure gmail as your email server for Team Foundation Server: smtp.gmail.com, Port 465, Enable SSL.
Post updated for VisualStudio.com and Visual Studio 2013 Update 5: VisualStudio.com, 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 […]
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 […]
Finally, there will be a search everything in Visual Studio vNext. Here are a couple screen shots: Notice from the second image that there is a “standard” search syntax allowing you to search specific fields within the work item.
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 […]
Recently I had the pleasure of migrating several VSS databases to Team Foundation Server 2008. One of the databases was pretty large (90k+ files) and took between 12 – 16 hours to migrate. However, about 6 hours in to the migration, I kept running across an error that would halt the migration process. The error: […]