Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
Hi all.
Did anyone try to play with or create a command to create VMware VM via powercli?
I see one doesn't exist and would like to know if there's a need to write one down or does someone has it ready (can't find in WFA...)
Most similar is the Clone VM command...
Thanks guys.
Solal.
Solved! See The Solution
Hi Solal:
You can get some power-cli examples here to create VM here:
https://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/New-VM.html
You can look into the VCenter data acquisition script bundled with WFA for reference.
You can clone that in a command and modify.
Initially you can hard-code and not use any dictionary entries to make sure the command works to create the VM.
Later, you probably would need to create some dictionary entries to meet your workflow needs.
Let us know if you need any more help.
Some thread related to WFA here in case
https://communities.netapp.com/thread/29197
Regards
Abhi
Hi Solal:
Jeremy Goodrum has written couple of packs for VMware.
Can you please check if any of these will help.
https://communities.netapp.com/docs/DOC-22918
http://www.virtpirate.com/tag/wfa/
Regards,
Abhi
Hey Abhi.
I'm familiar with those (quite amazing) Pirate Packs the Jeremy created.
Looked again and didn't find a create VM in VC command.
Solal.
Hi Solal:
You can get some power-cli examples here to create VM here:
https://www.vmware.com/support/developer/PowerCLI/PowerCLI51/html/New-VM.html
You can look into the VCenter data acquisition script bundled with WFA for reference.
You can clone that in a command and modify.
Initially you can hard-code and not use any dictionary entries to make sure the command works to create the VM.
Later, you probably would need to create some dictionary entries to meet your workflow needs.
Let us know if you need any more help.
Some thread related to WFA here in case
https://communities.netapp.com/thread/29197
Regards
Abhi
Thank Abhi.
I already begun the writing of it but tried to see if someone already prepared one before.
I have several for now (create VM from scratch, clone VM from template...) that are ready.
I'll upload when they'll be more sorted.
Thanks!
Solal.
Thanks Solal, pls share your work once done.
Regards
adai
Of course Adai
uploading as files.
Solal.