Created
April 18, 2014 14:37
-
-
Save iqwirty/11047434 to your computer and use it in GitHub Desktop.
Connect to a TFS server and display some information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load the snap-in for TFS. You might need to first install the TFS Powertools from Microsoft. | |
Add-PSSnapin Microsoft.TeamFoundation.PowerShell | |
$serverUrl = "http://servername:8080/tfs" | |
$tfsServer = Get-TfsServer -Name $serverUrl | |
# Output some information about the server object | |
$tfsServer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment