- This topic has 2 replies, 2 voices, and was last updated July 13, 2017 by Scott C.
Post script assist to pull VMs from the VPGs.
The forum ‘Scripting and APIs’ is closed to new topics and replies.
Hi,
I am running a post-script and passing parameters %ZertoVCenterIP% and %ZertoVPGName%. What I want to obtain is VM list in %ZertoVPGName% and edit their VMX. I have majority of script down. I am unable to pull VM names in from %ZertoVPGName%. Is there a direct powershell command to pull VM names from the VPG? Any help would be appreciated.
Thanks
Hi Apurva,
Can you clarify exactly what you’re attempting to achieve here? Do you want the name of each VM that you are failing over one at a time or all at once?
Thanks,
Sekora
So what I am doing is running a post-script to enable hardware virtualization feature on the VM once they are on the target side. Is there a way to get list of VMs in the VPG from the parameter %ZertoVPGName% ?
The forum ‘Scripting and APIs’ is closed to new topics and replies.