• This forum has 150 topics, 318 replies, and was last updated June 28, 2022 by Yossi A.
    • Scripting and APIs
    • 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
    • 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
    • JournalHistoryInHours does not match web app

      Zerto 7.5 When using the REST API to get the vpgSettings for a given VPG, the “JournalHistoryInHours” value is 720. But when viewing the same VPG in the web app, in the Settings tab, the value for “Journal History” is 7 days. Shouldn’t these values equal each other (after the obvious conversion of hours to […]

    • People: 1
      Replies: 0
    • February 5, 2020
    • Horribly slow API responses

      7.0 U2 VMware I’m running scripts on the ZVM itself. Just the authentication part to get the Zerto Session Token can take 30+ seconds. I’ve tried both powershell and PHP and they both experience the same lag. I’ve tried from a different server and the result is the same; the API acts like I’m sending […]

    • People: 1
      Replies: 1
    • December 9, 2019
    • Error getting VM NIC data

      Hi I am trying to run a script to Export of VM/VPG data I found on this forum. Everything but the section to gather NIC data runs here are the commands $GetVMSettingNICsURL = $baseURL+”vpgSettings/”+$VPGSettingsIdentifier+”/vms/”+$VMIdentifier+”/nics” $GetVMSettingNICs = Invoke-RestMethod -Method Get -Uri $GetVMSettingNICsURL -TimeoutSec 100 -Headers $zertoSessionHeader_XML -ContentType $TypeXML there error is: Invoke-RestMethod : Failed parsing ‘xxxxxxxxxx-75fc-4f25-a44d-a54af1dc11ed.vm-xxxxxx’ […]

    • People: 2
      Replies: 2
    • November 8, 2019
    • Powershell cmdlet for Failover in Live environment

      Hi, I am looking for Powershell cmdlet for Failover in Live environment. There is a start-FailoverTest but it does only the test. Is there is any cmdlet for Live environment. I thought it should be start-Failover – But cmdlet doesn’t exist. I am using the version 4.5.  Any help will be appreciated…    

    • People: 5
      Replies: 5
    • October 25, 2019
    • Zerto Failover CLI Utility

      We have published a new public utility that Zerto users may find useful. The Zerto Failover Utility enables you to streamline your fail-over tests (and if needed live site fail-over’s). The utility makes use of a CSV file where you can list all of your VPGs in order, with built in pauses if needed to […]

    • People: 1
      Replies: 0
    • October 25, 2019
    • PowerCLI Properties

      Is there a workable equivalent of this that will allow me to dig deeper in powercli ? foreach ($site in Get-Sites 10.10.10.10 9080 administrator password) { Write-Host $site | Select-Object -Property * }

    • People: 2
      Replies: 1
    • October 21, 2019
    • CSV's Columns for Scheduling Offsite Clone

      I want to know CSV’s Columns for Scheduling Offsite Clone. I find Example of Scheduling Offsite Clone in Automating ZVR with Powershell and REST APIs Whitepaper. And I know that this script uses a csv list file about VPG. Although I can find the columns by looking at the code,  but I want to save […]

    • People: 1
      Replies: 0
    • September 17, 2019

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