• vCenter Folders issue with REST API

      Hi – I’ve got an issue with how Zerto is retrieving vCenter folders which is complicated by the REST API.   I’m trying to use the REST API to retrieve the ID of a vCenter folder to create a VPG.  vCenter uses hierarchical folders, but Zerto seems to only retrieves the folder name, not the […]

      in: Scripting and APIs

    • People: 2
      Replies: 1
    • November 12, 2016
    • Editing a running VPG

      I’m trying to to use the reference to changing a VPG’s name in section 7 in “Automating Zerto Virtual Replication with PowerShell & REST APIs Whitepaper” I can call the POST VPGSettings with the appropriate body to convert a VPG to a VPGSettings. However, when I commit, I get a a 400 error Unknown web […]

      in: Scripting and APIs

    • People: 1
      Replies: 3
    • October 16, 2022
    • Creating a VPG – Build 050121007

      I’m trying to create a VPG using REST API. Using Powershell the script keeps failing to commit when the script attempts to commit. https://192.168.4.20:9669/v1/vpgSettings Exception : System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. GetResponse(WebRequest request) at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. ProcessRecord() TargetObject : System.Net.HttpWebRequest CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Comm […]

      in: Scripting and APIs

    • People: 3
      Replies: 2
    • May 13, 2017