After some time, your TFS-Workspace can get quite crowded with files and folders which were deleted.

To clean your workspace and delete all unversioned files, navigate to a folder which is under source control and run the following command:
tfpt treeclean /exclude:*.suo,*.user /recursive
After some time, you’ll get a dialog which shows all files which will get deleted.

1 Comment


  1. Hi there, just became alert to your blog through Google, and found that it’s really informative.
    I am going to watch out for brussels. I’ll be grateful if you continue this in future.
    Numerous people will be benefited from your
    writing. Cheers!

Leave a Reply

Your email address will not be published.

*