'Delete old workspace from TFS VS2010
I'm trying to remove workspace from people who actual not working anymore, and have a problem.
What I'm doing. (CMD from VS)
tf.exe workspace /delete workspacename;owner /server:
serveraddress - where is workspacename=WORKSPACE, owner=ThatUsername, and serveraddress = myfulltfs adress
When I hit enter, get the message:
Specify one workspace
I am 100% that I'm using real data.
Solution 1:[1]
Not an exact answer to your problem but I've always found its easier to use the TFS Sidekick tool for this.
Solution 2:[2]
According to the message info. It seems you are using the wrong username of the owner. So the command can't recognize the workspace. Try to use the username that the user use to login in TFS. Usually it's the domain name.
Also note there is no space between workspacename&;&owner name .
Don't use the owner name of the workspace. The owner of the workspace is not equal the Domain username.
Solution 3:[3]
You are missing the quotation marks "":
tf.exe workspace /delete "workspacename;owner"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | chief7 |
| Solution 2 | |
| Solution 3 | Jeremy Caney |
