Add-Workspace

Summary

Add-Workspace creates a workspace in a team project for user

Obtain the TFS server using the Get-TFS CmdLet.

Parameters

Name Description Example
-tfs TFS server obtained using Get-TFS $tfs = Get-TFS -rul http://address:8080
-Name Name of the workspace
-Owner Name of onwer's workspace
-ServerPath Server directory $\MyProject\
-LocalPath Local directory C:\Users\name\tempMyProject

Sample

Add-Workspace -Name "MyWorlspace" -Owner "Domaine\name" -ServerPath "$\MyProject\" -LocalPath "C:\Users\name\tempMyProject"

Sample with more link

Add-Workspace -Name "MyWorlspace" -Owner "Domaine\name" -ServerPath "$\MyProject\|$\MyProject2\" -LocalPath "C:\Users\name\tempMyProject|C:\Users\name\tempMyProject2"


Last edited Nov 8, 2009 at 9:12 AM by pc152, version 1

Comments

No comments yet.