VMware Cloud Community
Macleud
Enthusiast
Enthusiast

Vcloud creating VM from a template, specified storage policy.

Hi.

Is it possible with the help of "powercli" to create a VM to vApp with the specified storage policy, cpu, ram, network, guest customization?
New-CIVM has no such parameter.
I know that can use ExtensionData. But did not find information.

I'm just learning.

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

An alternative could be to use the REST API, in this case reconfigureVm
With PowerShell you can use the Invoke-WebRequest or Invoke-RestMethod cmdlets for that.

There are some examples available on this on the Internet, but not that many I'm afraid.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos