pmrep connect -r Repo_Name -d Domain_Name -n Administrator -x Pwd> test.out
pmrep purgeversion -n
last_n_versions_to_keep — Number of latest checked-in object versions to keep for an active object in the folder specified (note: -f is an optional feature).
The value must be an integer greater than 0.
For example, enter 5 to purge all versions except the last five checked-in versions.