Feature request: Rollback cmdlet

Would it be possible to have a cmdlet to rollack the latest version to the previous one in case a user creates a new version by mistake? Like the rollback functionality available in MostOfDavesTools.

In the meantime, does anyone have an idea of a script which would achieve the same result?