Getting tags from a VSTS/TFS build via PowerShell

This script gets the tags associated with a specific build in TFS/VSTS. Authentication can be performed using the current users credentials, a personal access token, or system OAUTH.

Targets:

Visual Studio Team Services
Team Foundation Services

The script can be viewed on Gist:

Adding tags to a VSTS/TFS build via PowerShell

This script adds a tag or tags to a specific build in TFS/VSTS. Authentication can be performed using the current users credentials, a personal access token, or system OAUTH.

Targets:

  • Visual Studio Team Services
  • Team Foundation Services

The script can be viewed on Gist: