From ead0ee74a677dcd3b267f94e6eaea98036ff902f Mon Sep 17 00:00:00 2001 From: dickvdm Date: Thu, 7 Nov 2019 00:52:06 +0100 Subject: [PATCH] Add AzD2019 setting (#211) * Support AzD2019 config * Do not change default (yet ;-)) --- .docs/Set-VSTeamAPIVersion.md | 1 + .docs/params/Version.md | 1 + .docs/synopsis/Set-VSTeamAPIVersion.md | 2 +- .github/CONTRIBUTING.md | 2 +- CHANGELOG.md | 8 +- Source/Public/Add-VSTeamProfile.ps1 | 2 +- Source/Public/Set-VSTeamAPIVersion.ps1 | 17 +- Source/Public/Set-VSTeamAccount.ps1 | 2 +- Source/en-US/VSTeam-Help.xml | 12 +- Source/en-US/about_vsteam.help.txt | 2 +- docs/Add-VSTeamProfile.md | 1 + docs/Set-VSTeamAPIVersion.md | 7 +- docs/Set-VSTeamAccount.md | 3 +- docs/Team.md | 1014 +++++++++++------------ docs/readme.md | 1014 +++++++++++------------ integration/test/000_team.Tests.ps1 | 4 +- integration/test/010_projects.Tests.ps1 | 4 +- unit/test/team.Tests.ps1 | 5 + 18 files changed, 1070 insertions(+), 1031 deletions(-) diff --git a/.docs/Set-VSTeamAPIVersion.md b/.docs/Set-VSTeamAPIVersion.md index 102bcd477..34aa0b601 100644 --- a/.docs/Set-VSTeamAPIVersion.md +++ b/.docs/Set-VSTeamAPIVersion.md @@ -38,6 +38,7 @@ Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 +- AzD2019 - VSTS - AzD diff --git a/.docs/params/Version.md b/.docs/params/Version.md index 9b648dd52..c596d2f70 100644 --- a/.docs/params/Version.md +++ b/.docs/params/Version.md @@ -4,6 +4,7 @@ Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 +- AzD2019 - VSTS - AzD diff --git a/.docs/synopsis/Set-VSTeamAPIVersion.md b/.docs/synopsis/Set-VSTeamAPIVersion.md index 9dcf8daac..040909e74 100644 --- a/.docs/synopsis/Set-VSTeamAPIVersion.md +++ b/.docs/synopsis/Set-VSTeamAPIVersion.md @@ -1 +1 @@ -Sets the API versions to support either TFS2017, TFS2018 or AzD. \ No newline at end of file +Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD. \ No newline at end of file diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 49379b6d5..d090a86b0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -26,7 +26,7 @@ I am truly grateful for all the support developing VSTeam. It means a lot that y - Use an empty account to run the integration tests - Set the following Environment variables. - $env:ACCT = VSTS Account Name or full TFS URL including collection - - $env:API_VERSION = TFS2017, TFS2018 or VSTS depending on the value used for ACCT + - $env:API_VERSION = TFS2017, TFS2018, AzD2019 for on-prem versions, or VSTS for the Service variant, depending on the value used for ACCT - $env:EMAIL = Email of user to remove and re-add to account - $env:PAT = Personal Access token of ACCT diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b11fce5c..b186123bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,17 @@ ## 6.4.0 +Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/211) from [Dick van de Meulengraaf](https://github.com/dickvdm) which included the following: + +AzD2019 configuration, being Azure DevOps Server (on-prem) 2019 (17.143.28912.1) + Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/204) from [Jeroen Janssen](https://github.com/japj) which included the following: -add maxParallelism to Disable/Enable-VSTeamAgent +maxParallelism to Disable/Enable-VSTeamAgent Merged [Pull Request](https://github.com/DarqueWarrior/vsteam/pull/205) from [Sebastian Schütze](https://github.com/SebastianSchuetze) which included the following: -Added Get-VSTeamWiql to get work items via [WIQL](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/wiql?view=azure-devops-rest-5.1) and also to expand the returned work items with all fields selected. +Get-VSTeamWiql to get work items via [WIQL](https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/wiql?view=azure-devops-rest-5.1) and also to expand the returned work items with all fields selected. ## 6.3.6 diff --git a/Source/Public/Add-VSTeamProfile.ps1 b/Source/Public/Add-VSTeamProfile.ps1 index 06198228f..66a283ce3 100644 --- a/Source/Public/Add-VSTeamProfile.ps1 +++ b/Source/Public/Add-VSTeamProfile.ps1 @@ -14,7 +14,7 @@ function Add-VSTeamProfile { [string] $Name, - [ValidateSet('TFS2017', 'TFS2018', 'VSTS')] + [ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS')] [string] $Version, [switch] $UseBearerToken diff --git a/Source/Public/Set-VSTeamAPIVersion.ps1 b/Source/Public/Set-VSTeamAPIVersion.ps1 index 71bc79f5b..73409ad20 100644 --- a/Source/Public/Set-VSTeamAPIVersion.ps1 +++ b/Source/Public/Set-VSTeamAPIVersion.ps1 @@ -2,7 +2,7 @@ function Set-VSTeamAPIVersion { [CmdletBinding(DefaultParameterSetName = 'Target', SupportsShouldProcess = $true, ConfirmImpact = "Low")] param( [parameter(ParameterSetName = 'Target', Mandatory = $false, Position = 0)] - [ValidateSet('TFS2017', 'TFS2018', 'VSTS', 'AzD')] + [ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS', 'AzD')] [string] $Target = 'TFS2017', [parameter(ParameterSetName = 'Service', Mandatory = $true, Position = 0)] @@ -58,6 +58,21 @@ function Set-VSTeamAPIVersion { } else { switch ($Target) { + 'AzD2019' { + [VSTeamVersions]::Version = 'AzD2019' + [VSTeamVersions]::Git = '5.0' + [VSTeamVersions]::Core = '5.0' + [VSTeamVersions]::Build = '5.0' + [VSTeamVersions]::Release = '5.0' + [VSTeamVersions]::DistributedTask = '5.0' + [VSTeamVersions]::VariableGroups = '5.0' + [VSTeamVersions]::Tfvc = '5.0' + [VSTeamVersions]::Packaging = '' + [VSTeamVersions]::MemberEntitlementManagement = '' + [VSTeamVersions]::ServiceFabricEndpoint = '5.0' + [VSTeamVersions]::ExtensionsManagement = '5.0' + [VSTeamVersions]::Graph = '' + } 'TFS2018' { [VSTeamVersions]::Version = 'TFS2018' [VSTeamVersions]::Git = '3.2' diff --git a/Source/Public/Set-VSTeamAccount.ps1 b/Source/Public/Set-VSTeamAccount.ps1 index 6ad2a363e..abe5defaa 100644 --- a/Source/Public/Set-VSTeamAccount.ps1 +++ b/Source/Public/Set-VSTeamAccount.ps1 @@ -17,7 +17,7 @@ function Set-VSTeamAccount { [parameter(ParameterSetName = 'Windows')] [parameter(ParameterSetName = 'Secure')] [Parameter(ParameterSetName = 'Plain')] - [ValidateSet('TFS2017', 'TFS2018', 'VSTS', 'AzD')] + [ValidateSet('TFS2017', 'TFS2018', 'AzD2019', 'VSTS', 'AzD')] [string] $Version, [string] $Drive, diff --git a/Source/en-US/VSTeam-Help.xml b/Source/en-US/VSTeam-Help.xml index fde102b76..baff83b7a 100644 --- a/Source/en-US/VSTeam-Help.xml +++ b/Source/en-US/VSTeam-Help.xml @@ -2925,10 +2925,11 @@ PS C:\> Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD - If you are on AzD it will default to Azd otherwise it will default to TFS2017 + If you are on AzD it will default to AzD otherwise it will default to TFS2017 String @@ -3008,6 +3009,7 @@ PS C:\> Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -3065,6 +3067,7 @@ PS C:\> Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -3172,6 +3175,7 @@ PS C:\> Add-NuGetEndpoint -EndpointName 'PowerShell Gallery' -NuGetUrl 'https Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -15654,6 +15658,7 @@ Remove-VSTeamVariableGroup @methodParameters Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -15761,6 +15766,7 @@ Remove-VSTeamVariableGroup @methodParameters Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -15842,6 +15848,7 @@ Remove-VSTeamVariableGroup @methodParameters Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -16036,6 +16043,7 @@ Remove-VSTeamVariableGroup @methodParameters Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -16244,6 +16252,7 @@ PS demo:\> Get-ChildItem Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD @@ -16322,6 +16331,7 @@ PS demo:\> Get-ChildItem Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 + - AzD2019 - VSTS - AzD diff --git a/Source/en-US/about_vsteam.help.txt b/Source/en-US/about_vsteam.help.txt index e34cf3edf..557da9c15 100644 --- a/Source/en-US/about_vsteam.help.txt +++ b/Source/en-US/about_vsteam.help.txt @@ -57,7 +57,7 @@ LONG DESCRIPTION PS C:\> Set-VSTeamAPIVersion -Service Build -Version '4.0' You can also use Set-VSTeamAPIVersion to set all the API versions for either - TFS2017, TFS2018 or AzD. TFS2017 is the default. + TFS2017, TFS2018, AzD2019 or AzD. TFS2017 is the default. PS C:\> Set-VSTeamAPIVersion TFS2018 diff --git a/docs/Add-VSTeamProfile.md b/docs/Add-VSTeamProfile.md index b3681d372..66db6f6c4 100644 --- a/docs/Add-VSTeamProfile.md +++ b/docs/Add-VSTeamProfile.md @@ -119,6 +119,7 @@ Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 +- AzD2019 - VSTS - AzD diff --git a/docs/Set-VSTeamAPIVersion.md b/docs/Set-VSTeamAPIVersion.md index 8a98e9975..841c15ba0 100644 --- a/docs/Set-VSTeamAPIVersion.md +++ b/docs/Set-VSTeamAPIVersion.md @@ -1,11 +1,11 @@ - + # Set-VSTeamAPIVersion ## SYNOPSIS -Sets the API versions to support either TFS2017, TFS2018 or AzD. +Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD. ## SYNTAX @@ -39,6 +39,7 @@ Specifies the version to use. The acceptable values for this parameter are: - TFS2017 - TFS2018 +- AzD2019 - VSTS - AzD @@ -100,4 +101,4 @@ Parameter Sets: (All) ## NOTES ## RELATED LINKS - + diff --git a/docs/Set-VSTeamAccount.md b/docs/Set-VSTeamAccount.md index 59614361d..8ac249a69 100644 --- a/docs/Set-VSTeamAccount.md +++ b/docs/Set-VSTeamAccount.md @@ -173,7 +173,8 @@ Required: True Specifies the version to use. The acceptable values for this parameter are: - TFS2017 -- TFS2018 +- TFS2018 +- AzD2019 - VSTS - AzD diff --git a/docs/Team.md b/docs/Team.md index 4d0ccba06..fa3203622 100644 --- a/docs/Team.md +++ b/docs/Team.md @@ -13,516 +13,516 @@ Welcome to VSTeam. VSTeam is a [PowerShell module](https://www.powershellgallery ## VSTeam Functions -### [Add-VSTeam](Add-VSTeam.md) - -Adds a team to a team project. - -### [Add-VSTeamAccessControlEntry](Add-VSTeamAccessControlEntry.md) - +### [Add-VSTeam](Add-VSTeam.md) + +Adds a team to a team project. + +### [Add-VSTeamAccessControlEntry](Add-VSTeamAccessControlEntry.md) + Add or update ACEs in the ACL for the provided token. The request contains the target token, a list of ACEs and a optional merge parameter. In the case of a collision (by identity descriptor) with an existing ACE in the ACL, the "merge" parameter determines the behavior. If set, the existing ACE has its allow and deny merged with the incoming ACE's allow and deny. If unset, the existing ACE is displaced. -Note: This is a low-level function. You should really use a high level function (Add-VSTeam*Permission / Set-VSTeam*Permission / Get-VSTeam*Permission) unless you know what you are doing. - -### [Add-VSTeamAzureRMServiceEndpoint](Add-VSTeamAzureRMServiceEndpoint.md) - -Adds a new Azure Resource Manager service endpoint. - -### [Add-VSTeamBuild](Add-VSTeamBuild.md) - -Queues a new build. - -### [Add-VSTeamBuildDefinition](Add-VSTeamBuildDefinition.md) - -Creates a new build definition from a JSON file. - -### [Add-VSTeamBuildTag](Add-VSTeamBuildTag.md) - -Adds a tag to a build. - -### [Add-VSTeamExtension](Add-VSTeamExtension.md) - -Install the specified extension into the account / project collection. - -### [Add-VSTeamFeed](Add-VSTeamFeed.md) - -Adds a new feed to package management. - -### [Add-VSTeamGitRepository](Add-VSTeamGitRepository.md) - -Adds a Git repository to your Azure DevOps or Team Foundation Server account. - -### [Add-VSTeamGitRepositoryPermission](Add-VSTeamGitRepositoryPermission.md) - -Add permissions to a git repository, all repositories in a project, or a specific branch - -### [Add-VSTeamKubernetesEndpoint](Add-VSTeamKubernetesEndpoint.md) - -Adds connections to Kubernetes clusters - -### [Add-VSTeamMembership](Add-VSTeamMembership.md) - -Adds a membership to a container. - -### [Add-VSTeamNuGetEndpoint](Add-VSTeamNuGetEndpoint.md) - -Adds a new NuGet service endpoint. - -### [Add-VSTeamPolicy](Add-VSTeamPolicy.md) - -Adds a new policy to the specified project. - -### [Add-VSTeamProfile](Add-VSTeamProfile.md) - +Note: This is a low-level function. You should really use a high level function (Add-VSTeam*Permission / Set-VSTeam*Permission / Get-VSTeam*Permission) unless you know what you are doing. + +### [Add-VSTeamAzureRMServiceEndpoint](Add-VSTeamAzureRMServiceEndpoint.md) + +Adds a new Azure Resource Manager service endpoint. + +### [Add-VSTeamBuild](Add-VSTeamBuild.md) + +Queues a new build. + +### [Add-VSTeamBuildDefinition](Add-VSTeamBuildDefinition.md) + +Creates a new build definition from a JSON file. + +### [Add-VSTeamBuildTag](Add-VSTeamBuildTag.md) + +Adds a tag to a build. + +### [Add-VSTeamExtension](Add-VSTeamExtension.md) + +Install the specified extension into the account / project collection. + +### [Add-VSTeamFeed](Add-VSTeamFeed.md) + +Adds a new feed to package management. + +### [Add-VSTeamGitRepository](Add-VSTeamGitRepository.md) + +Adds a Git repository to your Azure DevOps or Team Foundation Server account. + +### [Add-VSTeamGitRepositoryPermission](Add-VSTeamGitRepositoryPermission.md) + +Add permissions to a git repository, all repositories in a project, or a specific branch + +### [Add-VSTeamKubernetesEndpoint](Add-VSTeamKubernetesEndpoint.md) + +Adds connections to Kubernetes clusters + +### [Add-VSTeamMembership](Add-VSTeamMembership.md) + +Adds a membership to a container. + +### [Add-VSTeamNuGetEndpoint](Add-VSTeamNuGetEndpoint.md) + +Adds a new NuGet service endpoint. + +### [Add-VSTeamPolicy](Add-VSTeamPolicy.md) + +Adds a new policy to the specified project. + +### [Add-VSTeamProfile](Add-VSTeamProfile.md) + Stores your account name and personal access token as a profile for use with -the Add-TeamAccount function in this module. - -### [Add-VSTeamProject](Add-VSTeamProject.md) - -Adds a Team Project to your account. - -### [Add-VSTeamProjectPermission](Add-VSTeamProjectPermission.md) - -Add Permissions on Project Level - -### [Add-VSTeamRelease](Add-VSTeamRelease.md) - -Queues a new release - -### [Add-VSTeamReleaseDefinition](Add-VSTeamReleaseDefinition.md) - -Creates a new release definition from a JSON file. - -### [Add-VSTeamServiceEndpoint](Add-VSTeamServiceEndpoint.md) - -Adds a generic service connection - -### [Add-VSTeamServiceFabricEndpoint](Add-VSTeamServiceFabricEndpoint.md) - -Adds a new Service Fabric service endpoint. - -### [Add-VSTeamSonarQubeEndpoint](Add-VSTeamSonarQubeEndpoint.md) - -Adds a new SonarQube service endpoint. - -### [Add-VSTeamUserEntitlement](Add-VSTeamUserEntitlement.md) - -Add a user, assign license and extensions and make them a member of a project group in an account. - -### [Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md) - -Adds a variable group. - -### [Add-VSTeamWorkItem](Add-VSTeamWorkItem.md) - -Adds a work item to your project. - -### [Add-VSTeamWorkItemAreaPermission](Add-VSTeamWorkItemAreaPermission.md) - -Add Permissions to a Work Item Area - -### [Add-VSTeamWorkItemIterationPermission](Add-VSTeamWorkItemIterationPermission.md) - -Add Permissions to an Iteration - -### [Clear-VSTeamDefaultProject](Clear-VSTeamDefaultProject.md) - -Clears the value stored in the default project parameter value. - -### [Disable-VSTeamAgent](Disable-VSTeamAgent.md) - -Disables an agent in a pool. - -### [Enable-VSTeamAgent](Enable-VSTeamAgent.md) - -Enables an agent in a pool. - -### [Get-VSTeam](Get-VSTeam.md) - -Returns a team. - -### [Get-VSTeamAccessControlList](Get-VSTeamAccessControlList.md) - -Return a list of access control lists for the specified security namespace and token. All ACLs in the security namespace will be retrieved if no optional parameters are provided. - -### [Get-VSTeamAgent](Get-VSTeamAgent.md) - -Returns the agents in a pool. - -### [Get-VSTeamApproval](Get-VSTeamApproval.md) - -Gets a list of approvals for all releases for a team project. - -### [Get-VSTeamBuild](Get-VSTeamBuild.md) - -Gets the builds for a team project. - -### [Get-VSTeamBuildArtifact](Get-VSTeamBuildArtifact.md) - -Returns the artifacts of a build. - -### [Get-VSTeamBuildDefinition](Get-VSTeamBuildDefinition.md) - -Gets the build definitions for a team project. - -### [Get-VSTeamBuildLog](Get-VSTeamBuildLog.md) - -Displays the logs for the build. - -### [Get-VSTeamBuildTag](Get-VSTeamBuildTag.md) - -Returns all the tags of a build. - -### [Get-VSTeamClassificationNode](Get-VSTeamClassificationNode.md) - -Gets the classification node for a given node path. - -### [Get-VSTeamCloudSubscription](Get-VSTeamCloudSubscription.md) - -Gets the Azure subscriptions associated with the Team Services account. - -### [Get-VSTeamDescriptor](Get-VSTeamDescriptor.md) - -Resolve a storage key to a descriptor. - -### [Get-VSTeamExtension](Get-VSTeamExtension.md) - -Get the installed extensions in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamFeed](Get-VSTeamFeed.md) - -Returns a list of package feeds for the account. - -### [Get-VSTeamGitRef](Get-VSTeamGitRef.md) - -Queries the provided repository for its refs and returns them. - -### [Get-VSTeamGitRepository](Get-VSTeamGitRepository.md) - -Get all the repositories in your Azure DevOps or Team Foundation Server account, or a specific project. - -### [Get-VSTeamGroup](Get-VSTeamGroup.md) - -Returns a Group or List of Groups. - -### [Get-VSTeamInfo](Get-VSTeamInfo.md) - -Displays your current account and default project. - -### [Get-VSTeamJobRequest](Get-VSTeamJobRequest.md) - -Returns all the job requests of an agent. - -### [Get-VSTeamMember](Get-VSTeamMember.md) - -Returns a team member. - -### [Get-VSTeamMembership](Get-VSTeamMembership.md) - -Gets a memberships for a container or member. - -### [Get-VSTeamOption](Get-VSTeamOption.md) - -Returns all the versions of supported APIs of your TFS or AzD. - -### [Get-VSTeamPolicy](Get-VSTeamPolicy.md) - -Get the code policies in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamPolicyType](Get-VSTeamPolicyType.md) - -Get the policy types in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamPool](Get-VSTeamPool.md) - -Returns the agent pools. - -### [Get-VSTeamProcess](Get-VSTeamProcess.md) - -Returns a list of process templates in the Team Services or Team Foundation Server account. - -### [Get-VSTeamProfile](Get-VSTeamProfile.md) - -Returns the saved profiles. - -### [Get-VSTeamProject](Get-VSTeamProject.md) - -Returns a list of projects in the Team Services or Team Foundation Server account. - -### [Get-VSTeamPullRequest](Get-VSTeamPullRequest.md) - -Returns one or more open pull requests from your team, project, or Id. - -### [Get-VSTeamQueue](Get-VSTeamQueue.md) - -Gets a agent queue. - -### [Get-VSTeamRelease](Get-VSTeamRelease.md) - -Gets the releases for a team project. - -### [Get-VSTeamReleaseDefinition](Get-VSTeamReleaseDefinition.md) - -Gets the release definitions for a team project. - -### [Get-VSTeamResourceArea](Get-VSTeamResourceArea.md) - -List all the areas supported by this instance of TFS/VSTS. - -### [Get-VSTeamSecurityNamespace](Get-VSTeamSecurityNamespace.md) - -List all security namespaces or just the specified namespace. - -### [Get-VSTeamServiceEndpoint](Get-VSTeamServiceEndpoint.md) - -Gets a service endpoint. - -### [Get-VSTeamServiceEndpointType](Get-VSTeamServiceEndpointType.md) - -Get service endpoint types. - -### [Get-VSTeamTfvcBranch](Get-VSTeamTfvcBranch.md) - -Gets a branch for a given path from TFVC source control. - -### [Get-VSTeamTfvcRootBranch](Get-VSTeamTfvcRootBranch.md) - -Gets root branches for all projects with TFVC source control. - -### [Get-VSTeamUser](Get-VSTeamUser.md) - -Returns a list of users for the account. - -### [Get-VSTeamUserEntitlement](Get-VSTeamUserEntitlement.md) - -Get User Entitlement for a user. - -### [Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md) - -Gets a variable group - -### [Get-VSTeamWiql](Get-VSTeamWiql.md) - -Returns work items from the given WIQL query or a saved query by ID from your projects team. - -### [Get-VSTeamWorkItem](Get-VSTeamWorkItem.md) - -Returns one or more a work items from your project. - -### [Get-VSTeamWorkItemType](Get-VSTeamWorkItemType.md) - -Gets a list of all Work Item Types or a single work item type. - -### [Invoke-VSTeamRequest](Invoke-VSTeamRequest.md) - -Allows you to call any TFS/AzD REST API. All the Auth and Route Structure is taken care of for you. Just provide the parts of the API call you need. If you need to send a non-standard URL use the -Url parameter. If the -Url is used the Url is not changed but the header and UserAgent are added for you. - -### [Remove-VSTeam](Remove-VSTeam.md) - -Removes a team from a project. - -### [Remove-VSTeamAccessControlList](Remove-VSTeamAccessControlList.md) - -Remove access control lists under the specified security namespace. - -### [Remove-VSTeamAccount](Remove-VSTeamAccount.md) - -Clears your default project, account name and personal access token. - -### [Remove-VSTeamAgent](Remove-VSTeamAgent.md) - -Removes an agent from a pool. - -### [Remove-VSTeamBuild](Remove-VSTeamBuild.md) - -Deletes the build. - -### [Remove-VSTeamBuildDefinition](Remove-VSTeamBuildDefinition.md) - -Removes the build definitions for a team project. - -### [Remove-VSTeamBuildTag](Remove-VSTeamBuildTag.md) - -Removes the tag from a build. - -### [Remove-VSTeamExtension](Remove-VSTeamExtension.md) - -Uninstall the specified extension from the account / project collection. - -### [Remove-VSTeamFeed](Remove-VSTeamFeed.md) - -Removes a package feed from the account. - -### [Remove-VSTeamGitRepository](Remove-VSTeamGitRepository.md) - -Removes the Git repository from your Azure DevOps or Team Foundation Server account. - -### [Remove-VSTeamMembership](Remove-VSTeamMembership.md) - -Removes a membership to a container. - -### [Remove-VSTeamPolicy](Remove-VSTeamPolicy.md) - -Removes the specified policy from the specified project. - -### [Remove-VSTeamProfile](Remove-VSTeamProfile.md) - -Removes the profile. - -### [Remove-VSTeamProject](Remove-VSTeamProject.md) - -Deletes the Team Project from your Team Services account. - -### [Remove-VSTeamRelease](Remove-VSTeamRelease.md) - -Removes the releases for a team project. - -### [Remove-VSTeamReleaseDefinition](Remove-VSTeamReleaseDefinition.md) - -Removes the release definitions for a team project. - -### [Remove-VSTeamServiceEndpoint](Remove-VSTeamServiceEndpoint.md) - -Removes a service endpoint. - -### [Remove-VSTeamUserEntitlement](Remove-VSTeamUserEntitlement.md) - +the Add-TeamAccount function in this module. + +### [Add-VSTeamProject](Add-VSTeamProject.md) + +Adds a Team Project to your account. + +### [Add-VSTeamProjectPermission](Add-VSTeamProjectPermission.md) + +Add Permissions on Project Level + +### [Add-VSTeamRelease](Add-VSTeamRelease.md) + +Queues a new release + +### [Add-VSTeamReleaseDefinition](Add-VSTeamReleaseDefinition.md) + +Creates a new release definition from a JSON file. + +### [Add-VSTeamServiceEndpoint](Add-VSTeamServiceEndpoint.md) + +Adds a generic service connection + +### [Add-VSTeamServiceFabricEndpoint](Add-VSTeamServiceFabricEndpoint.md) + +Adds a new Service Fabric service endpoint. + +### [Add-VSTeamSonarQubeEndpoint](Add-VSTeamSonarQubeEndpoint.md) + +Adds a new SonarQube service endpoint. + +### [Add-VSTeamUserEntitlement](Add-VSTeamUserEntitlement.md) + +Add a user, assign license and extensions and make them a member of a project group in an account. + +### [Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md) + +Adds a variable group. + +### [Add-VSTeamWorkItem](Add-VSTeamWorkItem.md) + +Adds a work item to your project. + +### [Add-VSTeamWorkItemAreaPermission](Add-VSTeamWorkItemAreaPermission.md) + +Add Permissions to a Work Item Area + +### [Add-VSTeamWorkItemIterationPermission](Add-VSTeamWorkItemIterationPermission.md) + +Add Permissions to an Iteration + +### [Clear-VSTeamDefaultProject](Clear-VSTeamDefaultProject.md) + +Clears the value stored in the default project parameter value. + +### [Disable-VSTeamAgent](Disable-VSTeamAgent.md) + +Disables an agent in a pool. + +### [Enable-VSTeamAgent](Enable-VSTeamAgent.md) + +Enables an agent in a pool. + +### [Get-VSTeam](Get-VSTeam.md) + +Returns a team. + +### [Get-VSTeamAccessControlList](Get-VSTeamAccessControlList.md) + +Return a list of access control lists for the specified security namespace and token. All ACLs in the security namespace will be retrieved if no optional parameters are provided. + +### [Get-VSTeamAgent](Get-VSTeamAgent.md) + +Returns the agents in a pool. + +### [Get-VSTeamApproval](Get-VSTeamApproval.md) + +Gets a list of approvals for all releases for a team project. + +### [Get-VSTeamBuild](Get-VSTeamBuild.md) + +Gets the builds for a team project. + +### [Get-VSTeamBuildArtifact](Get-VSTeamBuildArtifact.md) + +Returns the artifacts of a build. + +### [Get-VSTeamBuildDefinition](Get-VSTeamBuildDefinition.md) + +Gets the build definitions for a team project. + +### [Get-VSTeamBuildLog](Get-VSTeamBuildLog.md) + +Displays the logs for the build. + +### [Get-VSTeamBuildTag](Get-VSTeamBuildTag.md) + +Returns all the tags of a build. + +### [Get-VSTeamClassificationNode](Get-VSTeamClassificationNode.md) + +Gets the classification node for a given node path. + +### [Get-VSTeamCloudSubscription](Get-VSTeamCloudSubscription.md) + +Gets the Azure subscriptions associated with the Team Services account. + +### [Get-VSTeamDescriptor](Get-VSTeamDescriptor.md) + +Resolve a storage key to a descriptor. + +### [Get-VSTeamExtension](Get-VSTeamExtension.md) + +Get the installed extensions in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamFeed](Get-VSTeamFeed.md) + +Returns a list of package feeds for the account. + +### [Get-VSTeamGitRef](Get-VSTeamGitRef.md) + +Queries the provided repository for its refs and returns them. + +### [Get-VSTeamGitRepository](Get-VSTeamGitRepository.md) + +Get all the repositories in your Azure DevOps or Team Foundation Server account, or a specific project. + +### [Get-VSTeamGroup](Get-VSTeamGroup.md) + +Returns a Group or List of Groups. + +### [Get-VSTeamInfo](Get-VSTeamInfo.md) + +Displays your current account and default project. + +### [Get-VSTeamJobRequest](Get-VSTeamJobRequest.md) + +Returns all the job requests of an agent. + +### [Get-VSTeamMember](Get-VSTeamMember.md) + +Returns a team member. + +### [Get-VSTeamMembership](Get-VSTeamMembership.md) + +Gets a memberships for a container or member. + +### [Get-VSTeamOption](Get-VSTeamOption.md) + +Returns all the versions of supported APIs of your TFS or AzD. + +### [Get-VSTeamPolicy](Get-VSTeamPolicy.md) + +Get the code policies in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamPolicyType](Get-VSTeamPolicyType.md) + +Get the policy types in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamPool](Get-VSTeamPool.md) + +Returns the agent pools. + +### [Get-VSTeamProcess](Get-VSTeamProcess.md) + +Returns a list of process templates in the Team Services or Team Foundation Server account. + +### [Get-VSTeamProfile](Get-VSTeamProfile.md) + +Returns the saved profiles. + +### [Get-VSTeamProject](Get-VSTeamProject.md) + +Returns a list of projects in the Team Services or Team Foundation Server account. + +### [Get-VSTeamPullRequest](Get-VSTeamPullRequest.md) + +Returns one or more open pull requests from your team, project, or Id. + +### [Get-VSTeamQueue](Get-VSTeamQueue.md) + +Gets a agent queue. + +### [Get-VSTeamRelease](Get-VSTeamRelease.md) + +Gets the releases for a team project. + +### [Get-VSTeamReleaseDefinition](Get-VSTeamReleaseDefinition.md) + +Gets the release definitions for a team project. + +### [Get-VSTeamResourceArea](Get-VSTeamResourceArea.md) + +List all the areas supported by this instance of TFS/VSTS. + +### [Get-VSTeamSecurityNamespace](Get-VSTeamSecurityNamespace.md) + +List all security namespaces or just the specified namespace. + +### [Get-VSTeamServiceEndpoint](Get-VSTeamServiceEndpoint.md) + +Gets a service endpoint. + +### [Get-VSTeamServiceEndpointType](Get-VSTeamServiceEndpointType.md) + +Get service endpoint types. + +### [Get-VSTeamTfvcBranch](Get-VSTeamTfvcBranch.md) + +Gets a branch for a given path from TFVC source control. + +### [Get-VSTeamTfvcRootBranch](Get-VSTeamTfvcRootBranch.md) + +Gets root branches for all projects with TFVC source control. + +### [Get-VSTeamUser](Get-VSTeamUser.md) + +Returns a list of users for the account. + +### [Get-VSTeamUserEntitlement](Get-VSTeamUserEntitlement.md) + +Get User Entitlement for a user. + +### [Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md) + +Gets a variable group + +### [Get-VSTeamWiql](Get-VSTeamWiql.md) + +Returns work items from the given WIQL query or a saved query by ID from your projects team. + +### [Get-VSTeamWorkItem](Get-VSTeamWorkItem.md) + +Returns one or more a work items from your project. + +### [Get-VSTeamWorkItemType](Get-VSTeamWorkItemType.md) + +Gets a list of all Work Item Types or a single work item type. + +### [Invoke-VSTeamRequest](Invoke-VSTeamRequest.md) + +Allows you to call any TFS/AzD REST API. All the Auth and Route Structure is taken care of for you. Just provide the parts of the API call you need. If you need to send a non-standard URL use the -Url parameter. If the -Url is used the Url is not changed but the header and UserAgent are added for you. + +### [Remove-VSTeam](Remove-VSTeam.md) + +Removes a team from a project. + +### [Remove-VSTeamAccessControlList](Remove-VSTeamAccessControlList.md) + +Remove access control lists under the specified security namespace. + +### [Remove-VSTeamAccount](Remove-VSTeamAccount.md) + +Clears your default project, account name and personal access token. + +### [Remove-VSTeamAgent](Remove-VSTeamAgent.md) + +Removes an agent from a pool. + +### [Remove-VSTeamBuild](Remove-VSTeamBuild.md) + +Deletes the build. + +### [Remove-VSTeamBuildDefinition](Remove-VSTeamBuildDefinition.md) + +Removes the build definitions for a team project. + +### [Remove-VSTeamBuildTag](Remove-VSTeamBuildTag.md) + +Removes the tag from a build. + +### [Remove-VSTeamExtension](Remove-VSTeamExtension.md) + +Uninstall the specified extension from the account / project collection. + +### [Remove-VSTeamFeed](Remove-VSTeamFeed.md) + +Removes a package feed from the account. + +### [Remove-VSTeamGitRepository](Remove-VSTeamGitRepository.md) + +Removes the Git repository from your Azure DevOps or Team Foundation Server account. + +### [Remove-VSTeamMembership](Remove-VSTeamMembership.md) + +Removes a membership to a container. + +### [Remove-VSTeamPolicy](Remove-VSTeamPolicy.md) + +Removes the specified policy from the specified project. + +### [Remove-VSTeamProfile](Remove-VSTeamProfile.md) + +Removes the profile. + +### [Remove-VSTeamProject](Remove-VSTeamProject.md) + +Deletes the Team Project from your Team Services account. + +### [Remove-VSTeamRelease](Remove-VSTeamRelease.md) + +Removes the releases for a team project. + +### [Remove-VSTeamReleaseDefinition](Remove-VSTeamReleaseDefinition.md) + +Removes the release definitions for a team project. + +### [Remove-VSTeamServiceEndpoint](Remove-VSTeamServiceEndpoint.md) + +Removes a service endpoint. + +### [Remove-VSTeamUserEntitlement](Remove-VSTeamUserEntitlement.md) + Delete a user from the account. -The delete operation includes unassigning Extensions and Licenses and removing the user from all project memberships. The user would continue to have access to the account if she is member of an AAD group, that is added directly to the account. - -### [Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md) - -Removes a variable group - -### [Set-VSTeamAccount](Set-VSTeamAccount.md) - +The delete operation includes unassigning Extensions and Licenses and removing the user from all project memberships. The user would continue to have access to the account if she is member of an AAD group, that is added directly to the account. + +### [Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md) + +Removes a variable group + +### [Set-VSTeamAccount](Set-VSTeamAccount.md) + Stores your account name and personal access token for use with the other -functions in this module. - -### [Set-VSTeamAlias](Set-VSTeamAlias.md) - -In version 6.0 the default aliases were removed to prevent conflicts with other modules. If you want to use the original aliases you can run this function to restore them. - -### [Set-VSTeamAPIVersion](Set-VSTeamAPIVersion.md) - -Sets the API versions to support either TFS2017, TFS2018 or AzD. - -### [Set-VSTeamApproval](Set-VSTeamApproval.md) - -Sets the status of approval to Approved, Rejected, Pending, or ReAssigned. - -### [Set-VSTeamDefaultProject](Set-VSTeamDefaultProject.md) - -Sets the default project to be used with other calls in the module. - -### [Set-VSTeamEnvironmentStatus](Set-VSTeamEnvironmentStatus.md) - -Sets the status of a environment to canceled, inProgress, notStarted, partiallySucceeded, queued, rejected, scheduled, succeeded or undefined. - -### [Set-VSTeamReleaseStatus](Set-VSTeamReleaseStatus.md) - -Sets the status of a release to Active or Abandoned. - -### [Show-VSTeam](Show-VSTeam.md) - -Opens TFS or AzD site in the default browser. - -### [Show-VSTeamApproval](Show-VSTeamApproval.md) - -Opens the release associated with the waiting approval in the default browser. - -### [Show-VSTeamBuild](Show-VSTeamBuild.md) - -Opens the build summary in the default browser. - -### [Show-VSTeamBuildDefinition](Show-VSTeamBuildDefinition.md) - -Opens the build definition in the default browser. - -### [Show-VSTeamFeed](Show-VSTeamFeed.md) - -Opens the feed in the default browser. - -### [Show-VSTeamGitRepository](Show-VSTeamGitRepository.md) - -Opens the Git repository in the default browser. - -### [Show-VSTeamProject](Show-VSTeamProject.md) - -Opens the project in the default browser. - -### [Show-VSTeamPullRequest](Show-VSTeamPullRequest.md) - -Opens the pull request in the default browser. - -### [Show-VSTeamRelease](Show-VSTeamRelease.md) - -Opens the release summary in the default browser. - -### [Show-VSTeamReleaseDefinition](Show-VSTeamReleaseDefinition.md) - -Opens the release definitions for a team project in the default browser. - -### [Show-VSTeamWorkItem](Show-VSTeamWorkItem.md) - -Opens the work item in the default browser. - -### [Test-VSTeamMembership](Test-VSTeamMembership.md) - -Tests the membership in a container. - -### [Update-VSTeam](Update-VSTeam.md) - -Updates the team name, description or both. - -### [Update-VSTeamBuild](Update-VSTeamBuild.md) - -Allows you to set the keep forever flag and build number. - -### [Update-VSTeamBuildDefinition](Update-VSTeamBuildDefinition.md) - -Updates a build definition for a team project. - -### [Update-VSTeamExtension](Update-VSTeamExtension.md) - -Update an installed extension. Typically this API is used to enable or disable an extension. - -### [Update-VSTeamPolicy](Update-VSTeamPolicy.md) - -Updates an existing policy in the specified project. - -### [Update-VSTeamProfile](Update-VSTeamProfile.md) - -Allows you to update the Personal Access Token for your profile. - -### [Update-VSTeamProject](Update-VSTeamProject.md) - -Updates the project name, description or both. - -### [Update-VSTeamRelease](Update-VSTeamRelease.md) - -Allows you to update release variables for future stages to read. - -### [Update-VSTeamReleaseDefinition](Update-VSTeamReleaseDefinition.md) - -Updates a build definition for a team project. - -### [Update-VSTeamServiceEndpoint](Update-VSTeamServiceEndpoint.md) - -Updates an existing service connection - -### [Update-VSTeamUserEntitlement](Update-VSTeamUserEntitlement.md) - -Edit the entitlements (License, Extensions, Projects, Teams etc) for a user. - -### [Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md) - -Updates an existing variable group - -### [Update-VSTeamWorkItem](Update-VSTeamWorkItem.md) - -Update a work item in your project. - - - - +functions in this module. + +### [Set-VSTeamAlias](Set-VSTeamAlias.md) + +In version 6.0 the default aliases were removed to prevent conflicts with other modules. If you want to use the original aliases you can run this function to restore them. + +### [Set-VSTeamAPIVersion](Set-VSTeamAPIVersion.md) + +Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD. + +### [Set-VSTeamApproval](Set-VSTeamApproval.md) + +Sets the status of approval to Approved, Rejected, Pending, or ReAssigned. + +### [Set-VSTeamDefaultProject](Set-VSTeamDefaultProject.md) + +Sets the default project to be used with other calls in the module. + +### [Set-VSTeamEnvironmentStatus](Set-VSTeamEnvironmentStatus.md) + +Sets the status of a environment to canceled, inProgress, notStarted, partiallySucceeded, queued, rejected, scheduled, succeeded or undefined. + +### [Set-VSTeamReleaseStatus](Set-VSTeamReleaseStatus.md) + +Sets the status of a release to Active or Abandoned. + +### [Show-VSTeam](Show-VSTeam.md) + +Opens TFS or AzD site in the default browser. + +### [Show-VSTeamApproval](Show-VSTeamApproval.md) + +Opens the release associated with the waiting approval in the default browser. + +### [Show-VSTeamBuild](Show-VSTeamBuild.md) + +Opens the build summary in the default browser. + +### [Show-VSTeamBuildDefinition](Show-VSTeamBuildDefinition.md) + +Opens the build definition in the default browser. + +### [Show-VSTeamFeed](Show-VSTeamFeed.md) + +Opens the feed in the default browser. + +### [Show-VSTeamGitRepository](Show-VSTeamGitRepository.md) + +Opens the Git repository in the default browser. + +### [Show-VSTeamProject](Show-VSTeamProject.md) + +Opens the project in the default browser. + +### [Show-VSTeamPullRequest](Show-VSTeamPullRequest.md) + +Opens the pull request in the default browser. + +### [Show-VSTeamRelease](Show-VSTeamRelease.md) + +Opens the release summary in the default browser. + +### [Show-VSTeamReleaseDefinition](Show-VSTeamReleaseDefinition.md) + +Opens the release definitions for a team project in the default browser. + +### [Show-VSTeamWorkItem](Show-VSTeamWorkItem.md) + +Opens the work item in the default browser. + +### [Test-VSTeamMembership](Test-VSTeamMembership.md) + +Tests the membership in a container. + +### [Update-VSTeam](Update-VSTeam.md) + +Updates the team name, description or both. + +### [Update-VSTeamBuild](Update-VSTeamBuild.md) + +Allows you to set the keep forever flag and build number. + +### [Update-VSTeamBuildDefinition](Update-VSTeamBuildDefinition.md) + +Updates a build definition for a team project. + +### [Update-VSTeamExtension](Update-VSTeamExtension.md) + +Update an installed extension. Typically this API is used to enable or disable an extension. + +### [Update-VSTeamPolicy](Update-VSTeamPolicy.md) + +Updates an existing policy in the specified project. + +### [Update-VSTeamProfile](Update-VSTeamProfile.md) + +Allows you to update the Personal Access Token for your profile. + +### [Update-VSTeamProject](Update-VSTeamProject.md) + +Updates the project name, description or both. + +### [Update-VSTeamRelease](Update-VSTeamRelease.md) + +Allows you to update release variables for future stages to read. + +### [Update-VSTeamReleaseDefinition](Update-VSTeamReleaseDefinition.md) + +Updates a build definition for a team project. + +### [Update-VSTeamServiceEndpoint](Update-VSTeamServiceEndpoint.md) + +Updates an existing service connection + +### [Update-VSTeamUserEntitlement](Update-VSTeamUserEntitlement.md) + +Edit the entitlements (License, Extensions, Projects, Teams etc) for a user. + +### [Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md) + +Updates an existing variable group + +### [Update-VSTeamWorkItem](Update-VSTeamWorkItem.md) + +Update a work item in your project. + + + + diff --git a/docs/readme.md b/docs/readme.md index daaa0bf11..8aab27ae2 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -18,516 +18,516 @@ The provider allows you to navigate your TFS or AzD as a file system. ## VSTeam Functions -### [Add-VSTeam](Add-VSTeam.md) - -Adds a team to a team project. - -### [Add-VSTeamAccessControlEntry](Add-VSTeamAccessControlEntry.md) - +### [Add-VSTeam](Add-VSTeam.md) + +Adds a team to a team project. + +### [Add-VSTeamAccessControlEntry](Add-VSTeamAccessControlEntry.md) + Add or update ACEs in the ACL for the provided token. The request contains the target token, a list of ACEs and a optional merge parameter. In the case of a collision (by identity descriptor) with an existing ACE in the ACL, the "merge" parameter determines the behavior. If set, the existing ACE has its allow and deny merged with the incoming ACE's allow and deny. If unset, the existing ACE is displaced. -Note: This is a low-level function. You should really use a high level function (Add-VSTeam*Permission / Set-VSTeam*Permission / Get-VSTeam*Permission) unless you know what you are doing. - -### [Add-VSTeamAzureRMServiceEndpoint](Add-VSTeamAzureRMServiceEndpoint.md) - -Adds a new Azure Resource Manager service endpoint. - -### [Add-VSTeamBuild](Add-VSTeamBuild.md) - -Queues a new build. - -### [Add-VSTeamBuildDefinition](Add-VSTeamBuildDefinition.md) - -Creates a new build definition from a JSON file. - -### [Add-VSTeamBuildTag](Add-VSTeamBuildTag.md) - -Adds a tag to a build. - -### [Add-VSTeamExtension](Add-VSTeamExtension.md) - -Install the specified extension into the account / project collection. - -### [Add-VSTeamFeed](Add-VSTeamFeed.md) - -Adds a new feed to package management. - -### [Add-VSTeamGitRepository](Add-VSTeamGitRepository.md) - -Adds a Git repository to your Azure DevOps or Team Foundation Server account. - -### [Add-VSTeamGitRepositoryPermission](Add-VSTeamGitRepositoryPermission.md) - -Add permissions to a git repository, all repositories in a project, or a specific branch - -### [Add-VSTeamKubernetesEndpoint](Add-VSTeamKubernetesEndpoint.md) - -Adds connections to Kubernetes clusters - -### [Add-VSTeamMembership](Add-VSTeamMembership.md) - -Adds a membership to a container. - -### [Add-VSTeamNuGetEndpoint](Add-VSTeamNuGetEndpoint.md) - -Adds a new NuGet service endpoint. - -### [Add-VSTeamPolicy](Add-VSTeamPolicy.md) - -Adds a new policy to the specified project. - -### [Add-VSTeamProfile](Add-VSTeamProfile.md) - +Note: This is a low-level function. You should really use a high level function (Add-VSTeam*Permission / Set-VSTeam*Permission / Get-VSTeam*Permission) unless you know what you are doing. + +### [Add-VSTeamAzureRMServiceEndpoint](Add-VSTeamAzureRMServiceEndpoint.md) + +Adds a new Azure Resource Manager service endpoint. + +### [Add-VSTeamBuild](Add-VSTeamBuild.md) + +Queues a new build. + +### [Add-VSTeamBuildDefinition](Add-VSTeamBuildDefinition.md) + +Creates a new build definition from a JSON file. + +### [Add-VSTeamBuildTag](Add-VSTeamBuildTag.md) + +Adds a tag to a build. + +### [Add-VSTeamExtension](Add-VSTeamExtension.md) + +Install the specified extension into the account / project collection. + +### [Add-VSTeamFeed](Add-VSTeamFeed.md) + +Adds a new feed to package management. + +### [Add-VSTeamGitRepository](Add-VSTeamGitRepository.md) + +Adds a Git repository to your Azure DevOps or Team Foundation Server account. + +### [Add-VSTeamGitRepositoryPermission](Add-VSTeamGitRepositoryPermission.md) + +Add permissions to a git repository, all repositories in a project, or a specific branch + +### [Add-VSTeamKubernetesEndpoint](Add-VSTeamKubernetesEndpoint.md) + +Adds connections to Kubernetes clusters + +### [Add-VSTeamMembership](Add-VSTeamMembership.md) + +Adds a membership to a container. + +### [Add-VSTeamNuGetEndpoint](Add-VSTeamNuGetEndpoint.md) + +Adds a new NuGet service endpoint. + +### [Add-VSTeamPolicy](Add-VSTeamPolicy.md) + +Adds a new policy to the specified project. + +### [Add-VSTeamProfile](Add-VSTeamProfile.md) + Stores your account name and personal access token as a profile for use with -the Add-TeamAccount function in this module. - -### [Add-VSTeamProject](Add-VSTeamProject.md) - -Adds a Team Project to your account. - -### [Add-VSTeamProjectPermission](Add-VSTeamProjectPermission.md) - -Add Permissions on Project Level - -### [Add-VSTeamRelease](Add-VSTeamRelease.md) - -Queues a new release - -### [Add-VSTeamReleaseDefinition](Add-VSTeamReleaseDefinition.md) - -Creates a new release definition from a JSON file. - -### [Add-VSTeamServiceEndpoint](Add-VSTeamServiceEndpoint.md) - -Adds a generic service connection - -### [Add-VSTeamServiceFabricEndpoint](Add-VSTeamServiceFabricEndpoint.md) - -Adds a new Service Fabric service endpoint. - -### [Add-VSTeamSonarQubeEndpoint](Add-VSTeamSonarQubeEndpoint.md) - -Adds a new SonarQube service endpoint. - -### [Add-VSTeamUserEntitlement](Add-VSTeamUserEntitlement.md) - -Add a user, assign license and extensions and make them a member of a project group in an account. - -### [Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md) - -Adds a variable group. - -### [Add-VSTeamWorkItem](Add-VSTeamWorkItem.md) - -Adds a work item to your project. - -### [Add-VSTeamWorkItemAreaPermission](Add-VSTeamWorkItemAreaPermission.md) - -Add Permissions to a Work Item Area - -### [Add-VSTeamWorkItemIterationPermission](Add-VSTeamWorkItemIterationPermission.md) - -Add Permissions to an Iteration - -### [Clear-VSTeamDefaultProject](Clear-VSTeamDefaultProject.md) - -Clears the value stored in the default project parameter value. - -### [Disable-VSTeamAgent](Disable-VSTeamAgent.md) - -Disables an agent in a pool. - -### [Enable-VSTeamAgent](Enable-VSTeamAgent.md) - -Enables an agent in a pool. - -### [Get-VSTeam](Get-VSTeam.md) - -Returns a team. - -### [Get-VSTeamAccessControlList](Get-VSTeamAccessControlList.md) - -Return a list of access control lists for the specified security namespace and token. All ACLs in the security namespace will be retrieved if no optional parameters are provided. - -### [Get-VSTeamAgent](Get-VSTeamAgent.md) - -Returns the agents in a pool. - -### [Get-VSTeamApproval](Get-VSTeamApproval.md) - -Gets a list of approvals for all releases for a team project. - -### [Get-VSTeamBuild](Get-VSTeamBuild.md) - -Gets the builds for a team project. - -### [Get-VSTeamBuildArtifact](Get-VSTeamBuildArtifact.md) - -Returns the artifacts of a build. - -### [Get-VSTeamBuildDefinition](Get-VSTeamBuildDefinition.md) - -Gets the build definitions for a team project. - -### [Get-VSTeamBuildLog](Get-VSTeamBuildLog.md) - -Displays the logs for the build. - -### [Get-VSTeamBuildTag](Get-VSTeamBuildTag.md) - -Returns all the tags of a build. - -### [Get-VSTeamClassificationNode](Get-VSTeamClassificationNode.md) - -Gets the classification node for a given node path. - -### [Get-VSTeamCloudSubscription](Get-VSTeamCloudSubscription.md) - -Gets the Azure subscriptions associated with the Team Services account. - -### [Get-VSTeamDescriptor](Get-VSTeamDescriptor.md) - -Resolve a storage key to a descriptor. - -### [Get-VSTeamExtension](Get-VSTeamExtension.md) - -Get the installed extensions in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamFeed](Get-VSTeamFeed.md) - -Returns a list of package feeds for the account. - -### [Get-VSTeamGitRef](Get-VSTeamGitRef.md) - -Queries the provided repository for its refs and returns them. - -### [Get-VSTeamGitRepository](Get-VSTeamGitRepository.md) - -Get all the repositories in your Azure DevOps or Team Foundation Server account, or a specific project. - -### [Get-VSTeamGroup](Get-VSTeamGroup.md) - -Returns a Group or List of Groups. - -### [Get-VSTeamInfo](Get-VSTeamInfo.md) - -Displays your current account and default project. - -### [Get-VSTeamJobRequest](Get-VSTeamJobRequest.md) - -Returns all the job requests of an agent. - -### [Get-VSTeamMember](Get-VSTeamMember.md) - -Returns a team member. - -### [Get-VSTeamMembership](Get-VSTeamMembership.md) - -Gets a memberships for a container or member. - -### [Get-VSTeamOption](Get-VSTeamOption.md) - -Returns all the versions of supported APIs of your TFS or AzD. - -### [Get-VSTeamPolicy](Get-VSTeamPolicy.md) - -Get the code policies in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamPolicyType](Get-VSTeamPolicyType.md) - -Get the policy types in the specified Azure DevOps or Team Foundation Server project. - -### [Get-VSTeamPool](Get-VSTeamPool.md) - -Returns the agent pools. - -### [Get-VSTeamProcess](Get-VSTeamProcess.md) - -Returns a list of process templates in the Team Services or Team Foundation Server account. - -### [Get-VSTeamProfile](Get-VSTeamProfile.md) - -Returns the saved profiles. - -### [Get-VSTeamProject](Get-VSTeamProject.md) - -Returns a list of projects in the Team Services or Team Foundation Server account. - -### [Get-VSTeamPullRequest](Get-VSTeamPullRequest.md) - -Returns one or more open pull requests from your team, project, or Id. - -### [Get-VSTeamQueue](Get-VSTeamQueue.md) - -Gets a agent queue. - -### [Get-VSTeamRelease](Get-VSTeamRelease.md) - -Gets the releases for a team project. - -### [Get-VSTeamReleaseDefinition](Get-VSTeamReleaseDefinition.md) - -Gets the release definitions for a team project. - -### [Get-VSTeamResourceArea](Get-VSTeamResourceArea.md) - -List all the areas supported by this instance of TFS/VSTS. - -### [Get-VSTeamSecurityNamespace](Get-VSTeamSecurityNamespace.md) - -List all security namespaces or just the specified namespace. - -### [Get-VSTeamServiceEndpoint](Get-VSTeamServiceEndpoint.md) - -Gets a service endpoint. - -### [Get-VSTeamServiceEndpointType](Get-VSTeamServiceEndpointType.md) - -Get service endpoint types. - -### [Get-VSTeamTfvcBranch](Get-VSTeamTfvcBranch.md) - -Gets a branch for a given path from TFVC source control. - -### [Get-VSTeamTfvcRootBranch](Get-VSTeamTfvcRootBranch.md) - -Gets root branches for all projects with TFVC source control. - -### [Get-VSTeamUser](Get-VSTeamUser.md) - -Returns a list of users for the account. - -### [Get-VSTeamUserEntitlement](Get-VSTeamUserEntitlement.md) - -Get User Entitlement for a user. - -### [Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md) - -Gets a variable group - -### [Get-VSTeamWiql](Get-VSTeamWiql.md) - -Returns work items from the given WIQL query or a saved query by ID from your projects team. - -### [Get-VSTeamWorkItem](Get-VSTeamWorkItem.md) - -Returns one or more a work items from your project. - -### [Get-VSTeamWorkItemType](Get-VSTeamWorkItemType.md) - -Gets a list of all Work Item Types or a single work item type. - -### [Invoke-VSTeamRequest](Invoke-VSTeamRequest.md) - -Allows you to call any TFS/AzD REST API. All the Auth and Route Structure is taken care of for you. Just provide the parts of the API call you need. If you need to send a non-standard URL use the -Url parameter. If the -Url is used the Url is not changed but the header and UserAgent are added for you. - -### [Remove-VSTeam](Remove-VSTeam.md) - -Removes a team from a project. - -### [Remove-VSTeamAccessControlList](Remove-VSTeamAccessControlList.md) - -Remove access control lists under the specified security namespace. - -### [Remove-VSTeamAccount](Remove-VSTeamAccount.md) - -Clears your default project, account name and personal access token. - -### [Remove-VSTeamAgent](Remove-VSTeamAgent.md) - -Removes an agent from a pool. - -### [Remove-VSTeamBuild](Remove-VSTeamBuild.md) - -Deletes the build. - -### [Remove-VSTeamBuildDefinition](Remove-VSTeamBuildDefinition.md) - -Removes the build definitions for a team project. - -### [Remove-VSTeamBuildTag](Remove-VSTeamBuildTag.md) - -Removes the tag from a build. - -### [Remove-VSTeamExtension](Remove-VSTeamExtension.md) - -Uninstall the specified extension from the account / project collection. - -### [Remove-VSTeamFeed](Remove-VSTeamFeed.md) - -Removes a package feed from the account. - -### [Remove-VSTeamGitRepository](Remove-VSTeamGitRepository.md) - -Removes the Git repository from your Azure DevOps or Team Foundation Server account. - -### [Remove-VSTeamMembership](Remove-VSTeamMembership.md) - -Removes a membership to a container. - -### [Remove-VSTeamPolicy](Remove-VSTeamPolicy.md) - -Removes the specified policy from the specified project. - -### [Remove-VSTeamProfile](Remove-VSTeamProfile.md) - -Removes the profile. - -### [Remove-VSTeamProject](Remove-VSTeamProject.md) - -Deletes the Team Project from your Team Services account. - -### [Remove-VSTeamRelease](Remove-VSTeamRelease.md) - -Removes the releases for a team project. - -### [Remove-VSTeamReleaseDefinition](Remove-VSTeamReleaseDefinition.md) - -Removes the release definitions for a team project. - -### [Remove-VSTeamServiceEndpoint](Remove-VSTeamServiceEndpoint.md) - -Removes a service endpoint. - -### [Remove-VSTeamUserEntitlement](Remove-VSTeamUserEntitlement.md) - +the Add-TeamAccount function in this module. + +### [Add-VSTeamProject](Add-VSTeamProject.md) + +Adds a Team Project to your account. + +### [Add-VSTeamProjectPermission](Add-VSTeamProjectPermission.md) + +Add Permissions on Project Level + +### [Add-VSTeamRelease](Add-VSTeamRelease.md) + +Queues a new release + +### [Add-VSTeamReleaseDefinition](Add-VSTeamReleaseDefinition.md) + +Creates a new release definition from a JSON file. + +### [Add-VSTeamServiceEndpoint](Add-VSTeamServiceEndpoint.md) + +Adds a generic service connection + +### [Add-VSTeamServiceFabricEndpoint](Add-VSTeamServiceFabricEndpoint.md) + +Adds a new Service Fabric service endpoint. + +### [Add-VSTeamSonarQubeEndpoint](Add-VSTeamSonarQubeEndpoint.md) + +Adds a new SonarQube service endpoint. + +### [Add-VSTeamUserEntitlement](Add-VSTeamUserEntitlement.md) + +Add a user, assign license and extensions and make them a member of a project group in an account. + +### [Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md) + +Adds a variable group. + +### [Add-VSTeamWorkItem](Add-VSTeamWorkItem.md) + +Adds a work item to your project. + +### [Add-VSTeamWorkItemAreaPermission](Add-VSTeamWorkItemAreaPermission.md) + +Add Permissions to a Work Item Area + +### [Add-VSTeamWorkItemIterationPermission](Add-VSTeamWorkItemIterationPermission.md) + +Add Permissions to an Iteration + +### [Clear-VSTeamDefaultProject](Clear-VSTeamDefaultProject.md) + +Clears the value stored in the default project parameter value. + +### [Disable-VSTeamAgent](Disable-VSTeamAgent.md) + +Disables an agent in a pool. + +### [Enable-VSTeamAgent](Enable-VSTeamAgent.md) + +Enables an agent in a pool. + +### [Get-VSTeam](Get-VSTeam.md) + +Returns a team. + +### [Get-VSTeamAccessControlList](Get-VSTeamAccessControlList.md) + +Return a list of access control lists for the specified security namespace and token. All ACLs in the security namespace will be retrieved if no optional parameters are provided. + +### [Get-VSTeamAgent](Get-VSTeamAgent.md) + +Returns the agents in a pool. + +### [Get-VSTeamApproval](Get-VSTeamApproval.md) + +Gets a list of approvals for all releases for a team project. + +### [Get-VSTeamBuild](Get-VSTeamBuild.md) + +Gets the builds for a team project. + +### [Get-VSTeamBuildArtifact](Get-VSTeamBuildArtifact.md) + +Returns the artifacts of a build. + +### [Get-VSTeamBuildDefinition](Get-VSTeamBuildDefinition.md) + +Gets the build definitions for a team project. + +### [Get-VSTeamBuildLog](Get-VSTeamBuildLog.md) + +Displays the logs for the build. + +### [Get-VSTeamBuildTag](Get-VSTeamBuildTag.md) + +Returns all the tags of a build. + +### [Get-VSTeamClassificationNode](Get-VSTeamClassificationNode.md) + +Gets the classification node for a given node path. + +### [Get-VSTeamCloudSubscription](Get-VSTeamCloudSubscription.md) + +Gets the Azure subscriptions associated with the Team Services account. + +### [Get-VSTeamDescriptor](Get-VSTeamDescriptor.md) + +Resolve a storage key to a descriptor. + +### [Get-VSTeamExtension](Get-VSTeamExtension.md) + +Get the installed extensions in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamFeed](Get-VSTeamFeed.md) + +Returns a list of package feeds for the account. + +### [Get-VSTeamGitRef](Get-VSTeamGitRef.md) + +Queries the provided repository for its refs and returns them. + +### [Get-VSTeamGitRepository](Get-VSTeamGitRepository.md) + +Get all the repositories in your Azure DevOps or Team Foundation Server account, or a specific project. + +### [Get-VSTeamGroup](Get-VSTeamGroup.md) + +Returns a Group or List of Groups. + +### [Get-VSTeamInfo](Get-VSTeamInfo.md) + +Displays your current account and default project. + +### [Get-VSTeamJobRequest](Get-VSTeamJobRequest.md) + +Returns all the job requests of an agent. + +### [Get-VSTeamMember](Get-VSTeamMember.md) + +Returns a team member. + +### [Get-VSTeamMembership](Get-VSTeamMembership.md) + +Gets a memberships for a container or member. + +### [Get-VSTeamOption](Get-VSTeamOption.md) + +Returns all the versions of supported APIs of your TFS or AzD. + +### [Get-VSTeamPolicy](Get-VSTeamPolicy.md) + +Get the code policies in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamPolicyType](Get-VSTeamPolicyType.md) + +Get the policy types in the specified Azure DevOps or Team Foundation Server project. + +### [Get-VSTeamPool](Get-VSTeamPool.md) + +Returns the agent pools. + +### [Get-VSTeamProcess](Get-VSTeamProcess.md) + +Returns a list of process templates in the Team Services or Team Foundation Server account. + +### [Get-VSTeamProfile](Get-VSTeamProfile.md) + +Returns the saved profiles. + +### [Get-VSTeamProject](Get-VSTeamProject.md) + +Returns a list of projects in the Team Services or Team Foundation Server account. + +### [Get-VSTeamPullRequest](Get-VSTeamPullRequest.md) + +Returns one or more open pull requests from your team, project, or Id. + +### [Get-VSTeamQueue](Get-VSTeamQueue.md) + +Gets a agent queue. + +### [Get-VSTeamRelease](Get-VSTeamRelease.md) + +Gets the releases for a team project. + +### [Get-VSTeamReleaseDefinition](Get-VSTeamReleaseDefinition.md) + +Gets the release definitions for a team project. + +### [Get-VSTeamResourceArea](Get-VSTeamResourceArea.md) + +List all the areas supported by this instance of TFS/VSTS. + +### [Get-VSTeamSecurityNamespace](Get-VSTeamSecurityNamespace.md) + +List all security namespaces or just the specified namespace. + +### [Get-VSTeamServiceEndpoint](Get-VSTeamServiceEndpoint.md) + +Gets a service endpoint. + +### [Get-VSTeamServiceEndpointType](Get-VSTeamServiceEndpointType.md) + +Get service endpoint types. + +### [Get-VSTeamTfvcBranch](Get-VSTeamTfvcBranch.md) + +Gets a branch for a given path from TFVC source control. + +### [Get-VSTeamTfvcRootBranch](Get-VSTeamTfvcRootBranch.md) + +Gets root branches for all projects with TFVC source control. + +### [Get-VSTeamUser](Get-VSTeamUser.md) + +Returns a list of users for the account. + +### [Get-VSTeamUserEntitlement](Get-VSTeamUserEntitlement.md) + +Get User Entitlement for a user. + +### [Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md) + +Gets a variable group + +### [Get-VSTeamWiql](Get-VSTeamWiql.md) + +Returns work items from the given WIQL query or a saved query by ID from your projects team. + +### [Get-VSTeamWorkItem](Get-VSTeamWorkItem.md) + +Returns one or more a work items from your project. + +### [Get-VSTeamWorkItemType](Get-VSTeamWorkItemType.md) + +Gets a list of all Work Item Types or a single work item type. + +### [Invoke-VSTeamRequest](Invoke-VSTeamRequest.md) + +Allows you to call any TFS/AzD REST API. All the Auth and Route Structure is taken care of for you. Just provide the parts of the API call you need. If you need to send a non-standard URL use the -Url parameter. If the -Url is used the Url is not changed but the header and UserAgent are added for you. + +### [Remove-VSTeam](Remove-VSTeam.md) + +Removes a team from a project. + +### [Remove-VSTeamAccessControlList](Remove-VSTeamAccessControlList.md) + +Remove access control lists under the specified security namespace. + +### [Remove-VSTeamAccount](Remove-VSTeamAccount.md) + +Clears your default project, account name and personal access token. + +### [Remove-VSTeamAgent](Remove-VSTeamAgent.md) + +Removes an agent from a pool. + +### [Remove-VSTeamBuild](Remove-VSTeamBuild.md) + +Deletes the build. + +### [Remove-VSTeamBuildDefinition](Remove-VSTeamBuildDefinition.md) + +Removes the build definitions for a team project. + +### [Remove-VSTeamBuildTag](Remove-VSTeamBuildTag.md) + +Removes the tag from a build. + +### [Remove-VSTeamExtension](Remove-VSTeamExtension.md) + +Uninstall the specified extension from the account / project collection. + +### [Remove-VSTeamFeed](Remove-VSTeamFeed.md) + +Removes a package feed from the account. + +### [Remove-VSTeamGitRepository](Remove-VSTeamGitRepository.md) + +Removes the Git repository from your Azure DevOps or Team Foundation Server account. + +### [Remove-VSTeamMembership](Remove-VSTeamMembership.md) + +Removes a membership to a container. + +### [Remove-VSTeamPolicy](Remove-VSTeamPolicy.md) + +Removes the specified policy from the specified project. + +### [Remove-VSTeamProfile](Remove-VSTeamProfile.md) + +Removes the profile. + +### [Remove-VSTeamProject](Remove-VSTeamProject.md) + +Deletes the Team Project from your Team Services account. + +### [Remove-VSTeamRelease](Remove-VSTeamRelease.md) + +Removes the releases for a team project. + +### [Remove-VSTeamReleaseDefinition](Remove-VSTeamReleaseDefinition.md) + +Removes the release definitions for a team project. + +### [Remove-VSTeamServiceEndpoint](Remove-VSTeamServiceEndpoint.md) + +Removes a service endpoint. + +### [Remove-VSTeamUserEntitlement](Remove-VSTeamUserEntitlement.md) + Delete a user from the account. -The delete operation includes unassigning Extensions and Licenses and removing the user from all project memberships. The user would continue to have access to the account if she is member of an AAD group, that is added directly to the account. - -### [Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md) - -Removes a variable group - -### [Set-VSTeamAccount](Set-VSTeamAccount.md) - +The delete operation includes unassigning Extensions and Licenses and removing the user from all project memberships. The user would continue to have access to the account if she is member of an AAD group, that is added directly to the account. + +### [Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md) + +Removes a variable group + +### [Set-VSTeamAccount](Set-VSTeamAccount.md) + Stores your account name and personal access token for use with the other -functions in this module. - -### [Set-VSTeamAlias](Set-VSTeamAlias.md) - -In version 6.0 the default aliases were removed to prevent conflicts with other modules. If you want to use the original aliases you can run this function to restore them. - -### [Set-VSTeamAPIVersion](Set-VSTeamAPIVersion.md) - -Sets the API versions to support either TFS2017, TFS2018 or AzD. - -### [Set-VSTeamApproval](Set-VSTeamApproval.md) - -Sets the status of approval to Approved, Rejected, Pending, or ReAssigned. - -### [Set-VSTeamDefaultProject](Set-VSTeamDefaultProject.md) - -Sets the default project to be used with other calls in the module. - -### [Set-VSTeamEnvironmentStatus](Set-VSTeamEnvironmentStatus.md) - -Sets the status of a environment to canceled, inProgress, notStarted, partiallySucceeded, queued, rejected, scheduled, succeeded or undefined. - -### [Set-VSTeamReleaseStatus](Set-VSTeamReleaseStatus.md) - -Sets the status of a release to Active or Abandoned. - -### [Show-VSTeam](Show-VSTeam.md) - -Opens TFS or AzD site in the default browser. - -### [Show-VSTeamApproval](Show-VSTeamApproval.md) - -Opens the release associated with the waiting approval in the default browser. - -### [Show-VSTeamBuild](Show-VSTeamBuild.md) - -Opens the build summary in the default browser. - -### [Show-VSTeamBuildDefinition](Show-VSTeamBuildDefinition.md) - -Opens the build definition in the default browser. - -### [Show-VSTeamFeed](Show-VSTeamFeed.md) - -Opens the feed in the default browser. - -### [Show-VSTeamGitRepository](Show-VSTeamGitRepository.md) - -Opens the Git repository in the default browser. - -### [Show-VSTeamProject](Show-VSTeamProject.md) - -Opens the project in the default browser. - -### [Show-VSTeamPullRequest](Show-VSTeamPullRequest.md) - -Opens the pull request in the default browser. - -### [Show-VSTeamRelease](Show-VSTeamRelease.md) - -Opens the release summary in the default browser. - -### [Show-VSTeamReleaseDefinition](Show-VSTeamReleaseDefinition.md) - -Opens the release definitions for a team project in the default browser. - -### [Show-VSTeamWorkItem](Show-VSTeamWorkItem.md) - -Opens the work item in the default browser. - -### [Test-VSTeamMembership](Test-VSTeamMembership.md) - -Tests the membership in a container. - -### [Update-VSTeam](Update-VSTeam.md) - -Updates the team name, description or both. - -### [Update-VSTeamBuild](Update-VSTeamBuild.md) - -Allows you to set the keep forever flag and build number. - -### [Update-VSTeamBuildDefinition](Update-VSTeamBuildDefinition.md) - -Updates a build definition for a team project. - -### [Update-VSTeamExtension](Update-VSTeamExtension.md) - -Update an installed extension. Typically this API is used to enable or disable an extension. - -### [Update-VSTeamPolicy](Update-VSTeamPolicy.md) - -Updates an existing policy in the specified project. - -### [Update-VSTeamProfile](Update-VSTeamProfile.md) - -Allows you to update the Personal Access Token for your profile. - -### [Update-VSTeamProject](Update-VSTeamProject.md) - -Updates the project name, description or both. - -### [Update-VSTeamRelease](Update-VSTeamRelease.md) - -Allows you to update release variables for future stages to read. - -### [Update-VSTeamReleaseDefinition](Update-VSTeamReleaseDefinition.md) - -Updates a build definition for a team project. - -### [Update-VSTeamServiceEndpoint](Update-VSTeamServiceEndpoint.md) - -Updates an existing service connection - -### [Update-VSTeamUserEntitlement](Update-VSTeamUserEntitlement.md) - -Edit the entitlements (License, Extensions, Projects, Teams etc) for a user. - -### [Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md) - -Updates an existing variable group - -### [Update-VSTeamWorkItem](Update-VSTeamWorkItem.md) - -Update a work item in your project. - - - - +functions in this module. + +### [Set-VSTeamAlias](Set-VSTeamAlias.md) + +In version 6.0 the default aliases were removed to prevent conflicts with other modules. If you want to use the original aliases you can run this function to restore them. + +### [Set-VSTeamAPIVersion](Set-VSTeamAPIVersion.md) + +Sets the API versions to support either TFS2017, TFS2018, AzD2019 or AzD. + +### [Set-VSTeamApproval](Set-VSTeamApproval.md) + +Sets the status of approval to Approved, Rejected, Pending, or ReAssigned. + +### [Set-VSTeamDefaultProject](Set-VSTeamDefaultProject.md) + +Sets the default project to be used with other calls in the module. + +### [Set-VSTeamEnvironmentStatus](Set-VSTeamEnvironmentStatus.md) + +Sets the status of a environment to canceled, inProgress, notStarted, partiallySucceeded, queued, rejected, scheduled, succeeded or undefined. + +### [Set-VSTeamReleaseStatus](Set-VSTeamReleaseStatus.md) + +Sets the status of a release to Active or Abandoned. + +### [Show-VSTeam](Show-VSTeam.md) + +Opens TFS or AzD site in the default browser. + +### [Show-VSTeamApproval](Show-VSTeamApproval.md) + +Opens the release associated with the waiting approval in the default browser. + +### [Show-VSTeamBuild](Show-VSTeamBuild.md) + +Opens the build summary in the default browser. + +### [Show-VSTeamBuildDefinition](Show-VSTeamBuildDefinition.md) + +Opens the build definition in the default browser. + +### [Show-VSTeamFeed](Show-VSTeamFeed.md) + +Opens the feed in the default browser. + +### [Show-VSTeamGitRepository](Show-VSTeamGitRepository.md) + +Opens the Git repository in the default browser. + +### [Show-VSTeamProject](Show-VSTeamProject.md) + +Opens the project in the default browser. + +### [Show-VSTeamPullRequest](Show-VSTeamPullRequest.md) + +Opens the pull request in the default browser. + +### [Show-VSTeamRelease](Show-VSTeamRelease.md) + +Opens the release summary in the default browser. + +### [Show-VSTeamReleaseDefinition](Show-VSTeamReleaseDefinition.md) + +Opens the release definitions for a team project in the default browser. + +### [Show-VSTeamWorkItem](Show-VSTeamWorkItem.md) + +Opens the work item in the default browser. + +### [Test-VSTeamMembership](Test-VSTeamMembership.md) + +Tests the membership in a container. + +### [Update-VSTeam](Update-VSTeam.md) + +Updates the team name, description or both. + +### [Update-VSTeamBuild](Update-VSTeamBuild.md) + +Allows you to set the keep forever flag and build number. + +### [Update-VSTeamBuildDefinition](Update-VSTeamBuildDefinition.md) + +Updates a build definition for a team project. + +### [Update-VSTeamExtension](Update-VSTeamExtension.md) + +Update an installed extension. Typically this API is used to enable or disable an extension. + +### [Update-VSTeamPolicy](Update-VSTeamPolicy.md) + +Updates an existing policy in the specified project. + +### [Update-VSTeamProfile](Update-VSTeamProfile.md) + +Allows you to update the Personal Access Token for your profile. + +### [Update-VSTeamProject](Update-VSTeamProject.md) + +Updates the project name, description or both. + +### [Update-VSTeamRelease](Update-VSTeamRelease.md) + +Allows you to update release variables for future stages to read. + +### [Update-VSTeamReleaseDefinition](Update-VSTeamReleaseDefinition.md) + +Updates a build definition for a team project. + +### [Update-VSTeamServiceEndpoint](Update-VSTeamServiceEndpoint.md) + +Updates an existing service connection + +### [Update-VSTeamUserEntitlement](Update-VSTeamUserEntitlement.md) + +Edit the entitlements (License, Extensions, Projects, Teams etc) for a user. + +### [Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md) + +Updates an existing variable group + +### [Update-VSTeamWorkItem](Update-VSTeamWorkItem.md) + +Update a work item in your project. + + + + diff --git a/integration/test/000_team.Tests.ps1 b/integration/test/000_team.Tests.ps1 index 8a9c56ff6..72098df85 100644 --- a/integration/test/000_team.Tests.ps1 +++ b/integration/test/000_team.Tests.ps1 @@ -10,8 +10,8 @@ Set-StrictMode -Version Latest ############################################################## # Before running these tests you must set the following # # Environment variables. # -# $env:API_VERSION = TFS2017, TFS2018 or VSTS depending on # -# the value used for ACCT # +# $env:API_VERSION = TFS2017, TFS2018, AzD2019 or VSTS # +# depending on the value used for ACCT # # $env:EMAIL = Email of user to remove and re-add to account # # $env:ACCT = VSTS Account Name or full TFS URL including # # collection # diff --git a/integration/test/010_projects.Tests.ps1 b/integration/test/010_projects.Tests.ps1 index db9208506..7c81097df 100644 --- a/integration/test/010_projects.Tests.ps1 +++ b/integration/test/010_projects.Tests.ps1 @@ -10,8 +10,8 @@ if ($null -eq $env:TEAM_CIBUILD) { ############################################################## # Before running these tests you must set the following # # Environment variables. # -# $env:API_VERSION = TFS2017, TFS2018 or VSTS depending on # -# the value used for ACCT # +# $env:API_VERSION = TFS2017, TFS2018, AzD2019 or VSTS # +# depending on the value used for ACCT # # $env:EMAIL = Email of user to remove and re-add to account # # $env:ACCT = VSTS Account Name or full TFS URL including # # collection # diff --git a/unit/test/team.Tests.ps1 b/unit/test/team.Tests.ps1 index 1d9fac7ed..8362086a4 100644 --- a/unit/test/team.Tests.ps1 +++ b/unit/test/team.Tests.ps1 @@ -237,6 +237,11 @@ InModuleScope VSTeam { [VSTeamVersions]::Version | Should Be 'TFS2018' } + It 'Should return AzD2019' { + Set-VSTeamAPIVersion -Target AzD2019 + [VSTeamVersions]::Version | Should Be 'AzD2019' + } + It 'Should VSTS' { Set-VSTeamAPIVersion -Target VSTS [VSTeamVersions]::Version | Should Be 'VSTS'