• Forums
  • E-learning
  • Technical Docs & Knowledge
  • Login
  • Create Login
MyZerto
  • Forums
  • E-learning
  • Technical Docs & Knowledge
  • Login
  • Create Login

Wes's Profile

Home/

Wes Carroll's Profile

Recent Activity

Reply To: Error getting VM NIC data
November 8, 2019 09:09:24 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Hi Colleen, I happen to run into this issue as well when running Zerto 7.0. This was a bug in the API, but has been resolved in Zerto 7.5. Thanks, Wes


Project: ZertoApiWrapper for PowerShell Core
April 19, 2019 01:09:23 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Project Idea: Create a PowerShell Core module that wraps the Zerto Virtual Manager REST API into easy to use functions. Description: Make PowerShell automation easier by wrapping the Zerto Virtual Manager REST API functionality into an easy to use PowerShell Module that can be downloaded from the PowerShell gallery. What the project needs: While the […]


Reply To: Change VPG/VM/Volume datastore via API
April 3, 2019 02:25:05 AM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Thinking about this a bit more, I think I would approach the loop as I have outlined here in this Gist. I’ve included the linked code below, but believe the gist will have better readability. foreach ($volume in $VolumeList){ $volumeUri = "$VMSettingsUrl/volumes/$($volume.volumeIdentifier)" $currentVolume = Invoke-RestMethod -Uri $volumeUri -Method GET -TimeoutSec 100 -Headers $ZertosessionHeader -ContentType $TypeJSON […]


Reply To: Change VPG/VM/Volume datastore via API
April 3, 2019 02:10:24 AM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

Hi Jason, Just looking at the code snippit you have provided, it seems that you are attempting to only PUT the volume information for one volume at a time. I believe you need to be updating your URI to something along the lines of: $ChangeVolumeLocationRequest = Invoke-RestMethod -Uri $VMSettingsURL/volumes/{volumeId} -Method PUT -TimeoutSec 100 -Headers $ZertosessionHeader […]


Reply To: JSON example for not changing IP, or using DHCP
March 1, 2019 02:50:11 PM
Voices: 0 Posts: 1 Posted in: Scripting and APIs

The current way to accomplish this goal is to create the VpgSettings object to edit, then make a DELETE call to remove the information from the NIC settings at https://server:9669/v1/vgpSettings/<vpgSettingsIdentifier>/vms/<vmIdentifier>/nics/<nicIdentifier>, documented here: Zerto Virtual Replication – REST API – VPG Settings – DELETE Once you do that, if you deleted any Default settings, you will […]


Topics Started: 1

Zerto Logo © 2010 - 2025
Need assistance?
  • Follow Us: