Hi friends,
I'm working on a tool that (ultimately renames branches) reads-in a TFS VC server path [$/TeamProject/Branch] and is stored as a variable which will later be mapped to a folder on local system. But before that- I want to use just the Branch name to define that folder at a designated path on local-- strip away the $/TeamProject/.
Still being relatively new to PowerShell, I'm looking to the community to determine the best approach to my challenge.
Example:
$tfsLocation = $(Read-Host -Prompt "TFS VC Path")
$localFolder = "c:\temp\" + $tfsLocation Branch name
Regards