Skip to content

Instantly share code, notes, and snippets.

@akanieski
Created November 3, 2020 16:12
Show Gist options
  • Save akanieski/66be2f4703e94309cb752989785c7456 to your computer and use it in GitHub Desktop.
Save akanieski/66be2f4703e94309cb752989785c7456 to your computer and use it in GitHub Desktop.
PurgeLocalVersions
TfsConfig purgelocalversions /collection:<name> /days:<number>
Configures the purgelocalversions job for the given
collection. All workspaces that haven't been used in
<days> will have their local versions purged.
TfsConfig purgelocalversions /collection:<name> /execute
Immediately queues the purgelocalversions job to run
for this collection.
TfsConfig purgelocalversions /collection:<name> /disable
Disables the purgelocalversions job for this collection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment