PSvss is a PowerShell script that performs regular maintenance activities on a Visual SourceSafe Database. This script automates the routine Visual SourceSafe mainteance tasks.
The basic flow is:
- Unshare the VSS share (Not Implemented yet)
- Lock the VSS Database
- ZIP the DATA folder
- Run the Analyze utility (Repeat if errors are found)
- Run the Archive utility
- Clean the temp directory
- Unlock the database
The script will also detect if users are logged in and it has an option to stop the maintenance tasks if users are logged in.