Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

PowerCLI vs Perl SDK

$
0
0

On the PowerCLI side, I can execute:

 

set-template -template <name> -tovm

 

...which will convert a template to a VM.

 

On the Perl SDK side, I found the MarkAsVirtualMachine call which appears to do something similar.

 

However, on the Perl SDK side the above call requires a ResourcePool be passed whereas the PowerCLI command does not require a ResourcePool.

 

In our environment we are not using defined ResourcePools - we do have ClusterComputeResources, but that does not help me.

 

Can anyone offer any suggestions to getting something on the Perl SDK side that performs similarly to the set-template on the PowerCLI side?

 

Thanks,

-M


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>