Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

Argument 'uriTemplate' must not be null. Parameter name: uriTemplate

$
0
0

We are working on some scripts to automate vCloud Director tasks, a few of the functions within the script do not work and we receive an error:

Exception calling "UpdateServerData" with "0" argument(s): "Argument 'uriTemplate' must not be null.

Parameter name: uriTemplate"

 

The function we are calling is for example 'SetDCVMCPUCount' for a specific VM with a count of the number of vCPU's.

+         $objVMHW.UpdateServerData()

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : CloudException

 

Do you have any idea what's going on here?

Are we missing something?

 

We're using PowerCLI 10.0 with a vCD 9.0 environment.


Viewing all articles
Browse latest Browse all 13334

Trending Articles



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