How to Export VPG Settings with Zerto PowerShell Cmdlets
Viewed 83 times
The Zerto Virtual Replication PowerShell Cmdlets allow for expanded functionality and interaction with the Zerto Virtual Replication environment via Windows PowerShell.
The 'Export-Settings' cmdlet is used to export VPG settings for the specified ZVM and its peer sites.
- Install the Zerto Virtual Replication Cmdlets - this installer can be downloaded from the Zerto Downloads page.
- From a machine that has network access to the ZVM, open Windows PowerShell.
- Load the Zerto Virtual Replication cmdlets with the following command:
- Add-PSSnapin Zerto.PS.Commands
Export-Settings [-ZVMIP] <String> [-ZVMPort] <Int32> [-Username] <String> [-Password] <String> [-Wait <int32>] [<Common&RiskParameters>]
PS C:\Windows\SysWOW64\WindowsPowerShell\v1.0> Export-Settings 126.96.36.199 9080 administrator password > C:\ZertoUpgrade\Export.xmlThis command exports the details of every VPG on the site where the cmdlet is run and with its paired site.
The details are exported to a file Export.xml in C:\ZertoUpgrade on the local computer where the cmdlet is run.
The Zerto Virtual Manager site used to process the cmdlet runs on IP 188.8.131.52 and port 9080.
For a full list of variables please refer our Online Help Guide