Retrieving a List of VPGs
Whenever you retrieve information about VPGs at a site you can also retrieve information about any paired site.
To retrieve the list of VPGs:
1. Run the Get-ProtectionGroups cmdlet from the PowerShell prompt.
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Get-ProtectionGroups |
2. You are prompted for a site that includes the VPGs that you want listed, either because it is protecting a VPG or paired to a site that is protecting a VPG.
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-ProtectionGroups cmdlet completes, returning the list of VPGs.
Note: If you don’t know the name of a site, you can retrieve it as described in
Retrieving a List of Sites.