Someone checked in the wrong model, or a migration created versions you do not want. SOLIDWORKS PDM’s Rollback removes the versions after a chosen point. PDMShell’s rollback command adds a safety net: it shows you exactly what will happen before it changes anything.
Preview first
rollback -filePath "Part.sldprt" -previous
ROLLBACK PREVIEW - no changes were made
Current version: 18
Rollback target: 17
Versions permanently deleted: 18-18
Parent references: redirect to the retained version
When the preview looks right, add -confirm to perform the rollback.
Choose your target
- -version keeps an exact earlier version.
- -previous keeps the version just before the current one.
- -before keeps the newest version created before a date and time, for example 2026-07-01.
- -revision keeps the newest earlier version with that revision name.
Parent references are redirected to the retained version by default. Add a comment with -comment.
Before you run it
- Rollback permanently deletes every version after the target, including its data card values. It cannot be undone without restoring the vault from backup.
- It needs PDMShell Premium, SOLIDWORKS PDM Professional 2017 or newer, a checked-in file and the Rollback permission.
- The target version must not be cold-stored.
Try it on your own vault
Start a free 7-day trial of PDMShell, see plans and pricing, or read the rollback reference. Questions? Book a short call with our team.