• This forum has 132 topics, 288 replies, and was last updated November 12, 2020 by Yossi A.
    • Scripting and APIs
    • Create Thin Provisioned VPG ?

      I have been automating VPG creation via REST/Powershell since we first implemented at v5.x, and currently at 7.0.  My target datastores are block storage arrays, and until now, I have had no issues since the recovery volumes have been thick provisioned by default. However, I now have added an Isilon cluster (NAS) at our recovery […]

    • People: 2
      Replies: 6
    • July 14, 2020
    • VPG memory utilization

      Hi, I am trying to create a script (or modify an existing one) that will retrieve the configured memory and CPUs for every VPG in a ZVM.  So far, I seem to be able to retrieve all kind of VPG information but the actual memory that each VPG will consume when active is something that […]

    • People: 2
      Replies: 1
    • July 14, 2020
    • Zerto report

      i am looking to create a report which will have all the vm with source/destination site and provisioned space. i also want to add source and target esx host, how do i achieve this   Get-Zertovm |select vmname, VpgName, SourceSite, TargetSite, ProvisionedStorageInMB | ft

    • People: 1
      Replies: 0
    • July 8, 2020
    • Pre-Post Script

      Between 7.0 and 7.5 there was a “Script Hardening” <p style=”padding-left: 80px;”>User Script Hardening In order to prevent unauthorized command execution, Zerto no longer supports executing arbitrary commands and non-PowerShell scripts as part of the failover operations. Only PowerShell scripts are supported, and these must reside on the recovery ZVM’s local file system.</p> Scripting used […]

    • People: 1
      Replies: 0
    • July 7, 2020
    • VM NIC Re-IP & Port Groups

      Hi All, I am in process of Bulk Editing VM NIC Settings Including Re-IP & Port Groups settings, i found “White Paper – Automating Zerto Virtual Replication with PowerShell and REST APIs” PDF. below is the script for your reference, But i am getting error message , can someone help me on this please ================================== System.Net.WebException: […]

    • People: 1
      Replies: 6
    • July 6, 2020
    • Remove a VM from a VPG without preserving disk

      Trying to remove a VM from a VPG (part of a decommission workflow) with out preserving the target disk. Using the API we are able to remove the VM with no issues it however does not remove the target Volume. How can this be completed?

    • People: 1
      Replies: 1
    • July 1, 2020
    • Zerto Analytic API authentication bad request erro

      Hi All, I am trying to collect the status of all VPG from zerto analytics API in google spreadsheet using google script . While running below code , getting error “Request failed for https://analytics.api.zerto.com returned code 400. Truncated server response: {“errorCode”:4,”errorMessage”:”Bad Request”}” Code : function vpgStat() { var Username = ‘username’; var Password = ‘password’; […]

    • People: 2
      Replies: 3
    • June 22, 2020
    • API Invoke-RestMethod Max number of edited created

      I have this weird error that I cannot seem to shake. I am not actually writing anything, I am simply querying each VPG for its side identifier and then adding the info to a powershell array for offline parsing. However I have this error: Invoke-RestMethod : {“Message”:”Maximum number of edited\/created vpgs 100 is exceed”} At […]

    • People: 1
      Replies: 1
    • June 17, 2020
    • Zerto powershell

      i have installed zerto module on a ZVM server but when i open zerto powershell and run “Get-ZertoVM” this is what i get Get-ZertoVM Missing Zerto Authentication Token At C:\Program Files\WindowsPowerShell\Modules\ZertoModule\1.0.8\ZertoModule.psm1:3777 char:13 + throw “Missing Zerto Authentication Token” + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (Missing Zerto Authentication Token:String) [], RuntimeException + FullyQualifiedErrorId : Missing Zerto […]

    • People: 2
      Replies: 3
    • May 11, 2020
    • Create Simple VPG using PowerShell and API

      Can someone post a simple template script for creating a new VPG.  I am just looking to get the understanding on getting the first one deployed using the API.  I am just looking for a simply start that gets one created successfully.  I have reviewed the API whitepaper and it is a little overwhelming at […]

    • People: 2
      Replies: 8
    • May 8, 2020
    • Check if a vm is in a vpg or not

      Hello I am looking for a script that can be run against a list of server (a text file) and checks for every vm if it is protected under Zerto or not. Any help would be greatly appreciated Thanks

    • People: 2
      Replies: 2
    • May 6, 2020
    • Getting Site VMs info using PowerShell a script

      I am new to PowerShell and am not sure where to start. But my question is. Is there a script that can be run to pull/export to excel, just the VM information per site? I would like to do a weekly audit of the number of VMs my customers have weekly.

    • People: 3
      Replies: 2
    • May 1, 2020
    • MIB

      Hi to all, the mib package for zerto exist? I have searched but I haven’t find it. Thanks

    • People: 1
      Replies: 0
    • March 12, 2020
    • connect-zertozvm

      Newbee talking. When I connect to our vSphere server via Powershell I use an interactive script: $VmWare_user = Get-Content “\\Servername\Share\vSphere_user.txt” $VmWare_pwd = Get-Content “\\Servername\Share\vSphere_pw.txt” $VmWare_srv = Get-Content “\\Servername\Share\vSphere_srv.txt” Connect-VIServer $VmWare_srv -User $VmWare_user -Password $VmWare_pwd I want to do the same for connecting interactive to Zerto but the paramete -password does not exist. I don’t want […]

    • People: 1
      Replies: 0
    • March 5, 2020
    • Question about Virtualization Site Name?

      When I pull the virtualization site info via the API, it displays SiteIdentifier, VirualizationSiteName.  I’ve noticed that of the eight sites targeting this ZVM, four of them show the name as the site name I have configured, and four of them have the protected vCenter FQDN as the site name despite the fact that they […]

    • People: 1
      Replies: 0
    • February 21, 2020

You must be logged in to create new topics. Click here to login