• 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.

  • 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

    Hi Everyone, I'm the new(ish) chief evangelist for Zerto. I'll be the first to admit that I have an addiction to startups with cool technology and I love my current day job :-). Seriously, if there was an AA equivalent for startups, I'd be finding myself at those meetings rather quickly! My background is all technical in nature. In past lives I've been a senior VMware instructor, VMware design consultant, cloud architect, NetApp engineer, etc, etc. Most recently I came from SimpliVity where I was a director in the Office of the CTO. I've got a slew of fancy letters behind my name from various certs (really good test taker here). If there is anything I can do to enhance or otherwise help make your Zerto journey as amazing as possible please don't hesitate to ask! As much as I am an evangelist from Zerto to the world and amazing customers, I am also an evangelist for those same people back to the internal folks we have here at Zerto. Anything I can do to help please let me know. Enjoy the Journey My Friends. :-) --Sekora "Know the rules well, so that you may break them effectively." Dalai Llama XIV

    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.