Cmdlets
Cmdlets documentation
Administration
-
Get-TfsConfigurationConnectionString
Gets the configuration server database connection string. -
Get-TfsConfigurationServerConnectionString
Gets the configuration server database connection string. -
Get-TfsInstallationPath
Gets the installation path of a given Team Foundation Server component. -
Get-TfsVersion
Gets the version information about Team Foundation / Azure DevOps servers and Azure DevOps Services organizations. -
Start-TfsIdentitySync
Triggers an Identity Sync server job.
Artifacts
-
Get-TfsArtifact
Gets information from one or more artifact feeds. -
Get-TfsArtifactFeed
Gets information from one or more artifact feeds. -
Get-TfsArtifactFeedView
Gets information from one or more Git repositories in a team project. -
Get-TfsArtifactVersion
Gets information from one or more artifact feeds.
Configuration Servers
-
Get-TfsConfigurationServer
Gets information about a configuration server. -
Get-TfsRegisteredConfigurationServer
Gets one or more Team Foundation Server addresses registered in the current computer.
Connection
-
Connect-TfsConfigurationServer
Connects to a configuration server. -
Connect-TfsTeam
Connects to a team. -
Connect-TfsTeamProject
Connects to a Team Project. -
Connect-TfsTeamProjectCollection
Connects to a TFS team project collection or Azure DevOps organization. -
Disconnect-TfsConfigurationServer
Disconnects from the currently connected configuration server. -
Disconnect-TfsTeam
Disconnects from the currently connected team. -
Disconnect-TfsTeamProject
Disconnects from the currently connected team project. -
Disconnect-TfsTeamProjectCollection
Disconnects from the currently connected TFS team project collection or Azure DevOps organization. -
New-TfsCredential
Provides credentials to use when you connect to a Team Foundation Server or Azure DevOps organization.
Credential
-
New-TfsCredential
Provides credentials to use when you connect to a Team Foundation Server or Azure DevOps organization.
Extension Management
-
Disable-TfsExtension
Disables an extension installed in the specified collection/organization. -
Enable-TfsExtension
Enables a previously disabled extension installed in the specified collection/organization. -
Get-TfsExtension
Gets one or more installed extensions in the specified collection. -
Install-TfsExtension
Installs an extension in the specified organization/collection. -
Uninstall-TfsExtension
Uninstalls one of more extensions from the specified organization/collection.
Git
-
Disable-TfsGitRepository
Disables one or more Git repositories. -
Enable-TfsGitRepository
Enables one or more Git repositories. -
Get-TfsGitRepository
Gets information from one or more Git repositories in a team project. -
New-TfsGitRepository
Creates a new Git repository in a team project. -
Remove-TfsGitRepository
Deletes one or more Git repositories from a team project. -
Rename-TfsGitRepository
Renames a Git repository in a team project.
Global Lists
-
Export-TfsGlobalList
Exports the contents of one or more Global Lists to XML. -
Get-TfsGlobalList
Gets the contents of one or more Global Lists. -
Import-TfsGlobalList
Imports one or more Global Lists from an XML document -
New-TfsGlobalList
Creates a new Global List. -
Remove-TfsGlobalList
Deletes one or more Global Lists. -
Rename-TfsGlobalList
Changes either the name or the contents of a Global List. -
Set-TfsGlobalList
Changes the contents of a Global List.
Identities, Users, and Groups
-
Get-TfsIdentity
Gets one or more identities that represents either users or groups in Azure DevOps. This cmdlets resolves legacy identity information for use with older APIs such as the Security APIs
Organizations
-
Connect-TfsOrganization
Connects to an Azure DevOps organization or a TFS Team Project Collection. -
Disconnect-TfsOrganization
Disconnects from the currently connected Azure DevOps organization. -
Get-TfsOrganization
Gets one of more team project collections (organizations in Azure DevOps).
Pipelines
Process Templates
-
Export-TfsProcessTemplate
Exports a XML-based process template definition to disk. -
Get-TfsProcessTemplate
Gets information from one or more process templates. -
Import-TfsProcessTemplate
Imports a process template definition from disk. -
New-TfsProcessTemplate
Creates a new inherited process.
REST API
-
Get-TfsRestClient
Gets an Azure DevOps HTTP Client object instance. -
Invoke-TfsRestApi
Invoke an Azure DevOps REST API.
Service Hooks
-
Get-TfsServiceHookConsumer
Gets one or more service hook consumers. -
Get-TfsServiceHookNotificationHistory
Gets the notification history for a given service hook subscription -
Get-TfsServiceHookPublisher
Gets one or more service hook publishers. -
Get-TfsServiceHookSubscription
Gets one or more service hook subscriptions
Shell
-
Enter-TfsShell
Activates the Azure DevOps Shell -
Exit-TfsShell
Deactivates the Azure DevOps Shell
Teams, Backlogs and Boards
-
Connect-TfsTeam
Connects to a team. -
Disconnect-TfsTeam
Disconnects from the currently connected team. -
Get-TfsTeam
Gets information about one or more teams. -
New-TfsTeam
Creates a new team. -
Remove-TfsTeam
Deletes a team. -
Rename-TfsTeam
Renames a team. -
Set-TfsTeam
Changes the details of a team.
Team Projects
-
Connect-TfsTeamProject
Connects to a Team Project. -
Disconnect-TfsTeamProject
Disconnects from the currently connected team project. -
Get-TfsTeamProject
Gets information about one or more team projects. -
New-TfsTeamProject
Creates a new team project. -
Remove-TfsTeamProject
Deletes one or more team projects. -
Rename-TfsTeamProject
Renames a team project. -
Set-TfsTeamProject
Changes the details of a team project. -
Undo-TfsTeamProjectRemoval
Undeletes one or more team projects.
Team Project Collections
-
Connect-TfsTeamProjectCollection
Connects to a TFS team project collection or Azure DevOps organization. -
Disconnect-TfsTeamProjectCollection
Disconnects from the currently connected TFS team project collection or Azure DevOps organization. -
Dismount-TfsTeamProjectCollection
Detaches a team project collection database from a Team Foundation Server installation. -
Get-TfsRegisteredTeamProjectCollection
Gets one or more Team Project Collection addresses registered in the current computer. -
Get-TfsTeamProjectCollection
Gets one of more team project collections (organizations in Azure DevOps). -
Mount-TfsTeamProjectCollection
Attaches a team project collection database to a Team Foundation Server installation. -
New-TfsTeamProjectCollection
Creates a new team project collection. -
Remove-TfsTeamProjectCollection
Deletes a team project collection. -
Start-TfsTeamProjectCollection
Starts an offline team project collection and make it online. -
Stop-TfsTeamProjectCollection
Stops a team project collection and make it offline.
Test Management
-
Copy-TfsTestPlan
Clone a test plan and, optionally, its test suites and test cases. -
Get-TfsTestPlan
Gets the contents of one or more test plans. -
New-TfsTestPlan
Creates a new test plan. -
Remove-TfsTestPlan
Deletes one or more test plans. -
Rename-TfsTestPlan
Renames a test plans.
Wiki
-
Get-TfsWiki
Gets information from one or more Wiki repositories in a team project. -
New-TfsWiki
Creates a new Wiki repository in a team project. -
Remove-TfsWiki
Deletes one or more Git repositories from a team project.
Work Item Tracking
-
Copy-TfsWorkItem
Creates a copy of a work item, optionally changing its type. -
Get-TfsWorkItem
Gets the contents of one or more work items. -
Move-TfsWorkItem
Moves a work item to a different team project in the same collection. -
New-TfsWorkItem
Creates a new work item. -
Remove-TfsWorkItem
Deletes a work item from a team project collection. -
Search-TfsWorkItem
Gets the contents of one or more work items. -
Set-TfsWorkItem
Sets the contents of one or more work items. -
Undo-TfsWorkItemRemoval
Restores a deleted work item.