mappetshow
mappetshow

Reputation: 49

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.

Upvotes: 0

Views: 1106

Answers (3)

cris
cris

Reputation: 1

You are missing the quotation marks "":

tf.exe workspace /delete "workspacename;owner"

Upvotes: 0

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51093

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.

Upvotes: 0

chief7
chief7

Reputation: 14383

Not an exact answer to your problem but I've always found its easier to use the TFS Sidekick tool for this.

http://www.attrice.info/cm/tfs/

Upvotes: 1

Related Questions