Disconnect-TfsTeamProjectCollection
Disconnects from the currently connected TFS team project collection or Azure DevOps organization.
Table of Contents
Description
The Disconnect-TfsTeamProjectCollection cmdlet removes the connection previously set by its counterpart Connect-TfsTeamProjectCollection. Therefore, cmdlets relying on a “default collection” as provided by “Get-TfsTeamProjectCollection -Current” will no longer work after a call to this cmdlet, unless their -Collection argument is provided or a new call to Connect-TfsTeam is made.