Subscribe
Accepted Solution

Create VM command?

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.

Re: Create VM command?

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

Re: Create VM command?

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.

Re: Create VM command?

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

Re: Create VM command?

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.

Re: Create VM command?

Thanks Solal, pls share your work once done.

Regards

adai

Re: Create VM command?

Of course Adai

uploading as files.

Solal.