Get-TfsConfigurationServer
Gets information about a configuration server.
Table of Contents
Syntax
Get by server
Get-TfsConfigurationServer
[-Server <object>]
[-Credential <object>]
Get current
Get-TfsConfigurationServer
-Current
Parameters
Specifies a user account that has permission to perform this action. To provide a user name and password, a Personal Access Token, and/or to open a input dialog to enter your credentials, call Get-TfsCredential with the appropriate arguments and pass its return to this argument.
Type | object |
Position | 1 |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Returns the configuration server specified in the last call to Connect-TfsConfigurationServer (i.e. the “current” configuration server)
Type | SwitchParameter |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies the URL to the Team Foundation Server to connect to, a TfsConfigurationServer object (Windows PowerShell only), or a VssConnection object. When omitted, it defaults to the connection set by Connect-TfsConfiguration (if any). For more details, see the Get-TfsConfigurationServer cmdlet.
Type | object |
Position | 0 |
Default Value | (N/A) |
Accept pipeline input | True (byvalue) |
Accept wildcard characters | False |
Inputs
System.Object
Specifies the URL to the Team Foundation Server to connect to, a TfsConfigurationServer object (Windows PowerShell only), or a VssConnection object. When omitted, it defaults to the connection set by Connect-TfsConfiguration (if any). For more details, see the Get-TfsConfigurationServer cmdlet.