Invoking RESTful APIs from PowerShell Scripts
  
Invoking RESTful APIs from PowerShell Scripts
This section describes how to invoke Zerto Virtual Replication APIs using Windows PowerShell. It shows how to authenticate with the service and shows the different ways to send data to, and receive data from, the Zerto Virtual Replication APIs.
If you intend to invoke Zerto Virtual Replication APIs from PowerShell, you must install PowerShell version 4.0 or higher.
All references to Zerto Virtual Replication RESTful APIs assume the following base URL:
https://zvm-ip:zvm-port/v1
Where:
zvm-ip
The IP address of the Zerto Virtual Manager where the API is run.
zvm-port
The port to access the Zerto Virtual Manager. The default port is 9669.