en-US/about_vsteam.help.txt
TOPIC
VSTeam SHORT DESCRIPTION Provides access to your Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) from Mac, Linux and PC. LONG DESCRIPTION Add an account using Add-VSTeamAccount and then you can call the rest of the functions. Use Set-VSTeamDefaultProject so you do not have to provide the -ProjectName parameter with the rest of the calls in the module. However, the -ProjectName parameter is dynamic and you can use tab completion to cycle through all the projects. Using the [VSTeamVersions] class you can control which version of the APIs are used. PS C:\> Get-VSTeamAPIVersion Name Value ---- ----- Account https://dev.azure.com/test DefaultProject Version TFS2017 Build 3.0 Core 3.0 Release 3.0-Preview Git 3.0 DistributedTask 3.0-Preview MemberEntitlementManagement Packaging The following list shows the version name and where it is used. · Build · Build · Build Definitions · Core · Processes · Projects · Team Members · Teams · DistributedTask · Pools · Queues · Service Endpoints · Git · Git · Release · Approvals · Release · Release Definitions To use different API versions you can update the version in the version table. PS C:\> [VSTeamVersions]::Build = '4.0' You can also use Set-VSTeamAPIVersion to set all the API versions for either TFS2017, TFS2018 or VSTS. TFS2017 is the default. PS C:\> Set-VSTeamAPIVersion TFS2018 EXAMPLES Get-VSTeamProject This will return all the WellFormed team projects. Get-VSTeamProject | Remove-VSTeamProject -Force This will delete all the projects in your VSTS for TFS. Use with caution. KEYWORDS Team Services, VSTS, TFS, VSO, TFS, DevOps SEE ALSO Add-VSTeamAccount Get-VSTeamProject |