I’m trying to run a commands using Tf Command-Line Utility I’m getting errors when trying to connect to TFS server. I’m not sure what tf tool is expecting as far as parameters.

It tells me to connect to workspaces by running tf /collection:TeamProjectCollectionUrl'
To get the TeamProjectCollectionUrl I went into Visual Studio Team Explorer, looked at properties of a project and copied URL property. The url starts with vstfs://
You want to use the standard HTTP or HTTPS URL to specify your project collection. (This is the same URL that’s shown in the connection dialog in Visual Studio.) For example:
TFS installs on port 8080 by default, and (beginning in TFS 2010), the name of your project collection is the suffix.
Alternately, you shouldn’t need to specify the project collection – if you run the
tf resolvecommand from one of your working folders, it will determine the server information automatically. That is, if you have the workspace mapping:If your current working directory is
C:\Work\Sourceand run thetfcommand line client, it should locate your TFS workspace automatically.