Dave Sauer's Profile
I have reviewed the Zerto Virtual Replication RESTful APIs doc and what I am looking for is a base script like Example 2: Perform an action on page 24. Instead of reading a CSV file with VMs, just define parameters with the VM name and other VPG properties.
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 […]
Thank you Tim! This did work. I was assuming that the script would accept the SecureString in the password field not knowing that it was a plain text password field. Thanks.
For the life of me I can not get these Zerto scripts to run with a password file that I have created using ConvertTo-SecureString commands listed here per Zerto scripting reference doc… https://www.pdq.com/blog/secure-password-with-powershell-encrypting-credentials-part-1/ “SecretPassword” | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Out-File “C:\support\zerto\scripts\zertpass.txt” I then call this zertpass.txt file using… $ZertoPassword = Get-Content “C:\support\zerto\scripts\zertpass.txt” | […]