Using the Cmdlets : Retrieving Information : Retrieving a List of Checkpoints
  
Retrieving a List of Checkpoints
The Get-Checkpoints cmdlet retrieves all the checkpoints in the journal for a specified VPG and marks whether they were added manually, by including the tag used when the checkpoint was created.
To retrieve the list of checkpoints for a VPG:
1. Run the Get-Checkpoint cmdlet from the PowerShell prompt.
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Get-Checkpoints
2. You are prompted for the VPG which includes the checkpoints you want to retrieve. The VPG name is case-sensitive.
3. You are prompted for the IP address of one of the Zerto Virtual Manager sites, either where the virtual machines in the VPG are protected or recovered, for the HTTP port used for inbound communication with that Zerto Virtual Manager and a valid username and password, defined in the users.txt file for the Zerto Virtual Manager where the cmdlet is run, as described in “Defining Credentials to Run Zerto Virtual Replication Cmdlets”, on page 7.
The Get-Checkpoint cmdlet completes, returning the list of checkpoints.
You can specify a single checkpoint from the list using a script similar to the following, which sets $last_cp to the last checkpoint retrieved:
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> $cp_list = Get-CheckPoints 127.0.0.1 9080
-Username usr -Password pswd -VirtualProtectionGroup ’MyVPG’
$last_cp = $cp_list[$cp_list.Count-1]
Note that the checkpoint list is zero-based.