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