The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Create VM command?

solal

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.

1 ACCEPTED SOLUTION

abhit

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

View solution in original post

6 REPLIES 6

abhit

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

solal

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.

abhit

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

View solution in original post

solal

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.

adaikkap

Thanks Solal, pls share your work once done.

Regards

adai

solal

Of course Adai

uploading as files.

Solal.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public