HP StorageWorks SAN Virtualization Services Platform Manager command line interface user guide (AG781-96016, March 2009)

Description
The default command (without arguments) lists all PiTs and snapshots.
Adding the -PiT argument to the command line lists PiTs only.
Adding the -snapshot argument to the command line lists snapshots only
Adding the -SyncPiT argument to the command line lists PiTs created on synchronous mirror
groups.
Adding the -Template argument (optional) returns only objects whose names start with the
specified root name.
Examples
ListSnapshots -PiT
ListSnapshots -snapshot
ListSnapshots -Template RootName, -PiT
ListSnapshots -Template RootName, -SyncPiT
ListSnapshots -snapshot, -Template RootName
ListSnapshotsChain command
Syntax
ListSnapshotsChain -PiT NameOfPiT
Description
Provides a list of all snapshots defined on the specified PiT.
PurgePiTsOrSnapshots command
Syntax
PurgePiTsOrSnapshots -Snapshot | -PiT | -SyncPiT, ~
-Template RootName [ANYSUFFIX], ~
[-Group SyncMirrorGroupName, ] -Keep NumberToKeep
Description
Purges (deletes) old PiT or snapshots, provided they all have the same root name (all start with the
same prefix). Their suffix can be any suffix (set with the ANYSUFFIX flag in the command line), or if
their suffix is not set, was automatically created by the VSM API (through the template flag).
PiTs with snapshots on them are not purged. The number to keep may be zero (for example, delete
all).
For synchronous mirror PiTs, you must provide the name of the synchronous mirror group on which
the synchronous mirror PiTs are created.
Examples
PurgePiTsOrSnapshots -PiT, -Template MyPiT, -Keep 3
Using the VSM command line interface38