Get D365TfsWorkspace - FH-Inway/d365fo.tools GitHub Wiki
Get the TFS / VSTS registered workspace path
Get-D365TfsWorkspace [[-Path] <String>] [[-TfsUri] <String>] [<CommonParameters>]
Gets the workspace path from the configuration of the local tfs in visual studio
Get-D365TfsWorkspace -TfsUri https://PROJECT.visualstudio.com
This will invoke the default tf.exe client located in the Visual Studio 2015 directory and fetch the configured URI.
Path to the directory where the Team Foundation Client executable is located
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: $Script:TfDir
Accept pipeline input: False
Accept wildcard characters: False
Uri to the TFS / VSTS that the workspace is connected to
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: $Script:TfsUri
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: TFS, VSTS, URL, URI, Servicing, Development
Author: Mötz Jensen (@Splaxi)