0 votes
1 view
in Azure by (8.3k points)

I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work

My Script is,

TfsDeleteProject 

  /force collection:https://mytfs.visualstudio.com/DefaultCollection MyProject

My first mistake was that I didn't append DefaultCollection to the URL, but now I get an error that I don't have privileges.

image

1 Answer

0 votes
by (16.8k points)

Use this command in the "Developer Command Prompt"

TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject

Printscreen of command prompt with working script

...