Get-Checkpoints [-ZVMIP] <String> [-ZVMPort] <Int32> [-Username] <String> [-Password] <String> [-VirtualProtectionGroup] <String> [-Wait <int32>] [<Common&RiskParameters>] |
Required? | True |
Position? | 1 or named |
Default Value | None |
Accept Wildcard Characters? | False |
Required? | True |
Position? | 2 or named |
Default Value | None |
Accept Wildcard Characters? | False |
Required? | True |
Position? | 3 or named |
Default Value | None |
Accept Wildcard Characters? | False |
Required? | True |
Position? | 4 or named |
Default Value | None |
Accept Wildcard Characters? | False |
Required? | True |
Position? | 5 or named |
Default Value | None |
Accept Wildcard Characters? | False |
Required? | False |
Position? | Named |
Default Value | None |
Accept Wildcard Characters? | False |
Inputs | String The name of a VPG. |
Outputs | Get-Checkpoints returns the list of checkpoints for the specified VPG, including the checkpoint identifier, timestamp, tag for manually added checkpoints and whether it was added using the ZertoVssAgent. |
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Get-Checkpoints 182.24.123.123 9080 administrator password -VirtualProtectionGroup ’Back Office’ |
Identifier TimeStamp Tag Vss ---------- --------- --- --- 19399 1/24/2012 3:42:1... False 19400 1/24/2012 3:42:1... False 19401 1/24/2012 3:42:2... False ... 19419 1/24/2012 3:43:5... False 19420 1/24/2012 3:43:5... Example checkpoint False 19421 1/24/2012 3:44:0... False |
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> $cp_list = Get-CheckPoints 127.0.0.1 9080 -Username usr -Password pswd -VirtualProtectionGroup ’Back Office’ PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> $last_cp = $cp_list[$cp_list.Count-1] |