Reverting a snapshot through CLI

Last Updated : Jun 10, 2026 |

Procedure

  1. Log in to the Session Manager command-line interface.
  2. Type the following command:

    vmsnapshot revert <Name of the snapshot to revert>

    For example, vmsnapshot revert testsnapshot1

    Session Manager displays the following message:

    Current state of the virtual machine will be lost unless it is saved in a snapshot. Revert to snapshot '<testsnapshot1>' (y/n)?

  3. At the prompt, type y.

    Session Manager reverts the snapshot and displays the following message:

    Reverting to snapshot <testsnapshot1>

    WARN: connection will drop!