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

Looking for vCD PowerCLI script to update VM CoresPerSocket value.

$
0
0

Hello,

 

I am looking for a vCD PowerCLI script to update VM CoresPerSocket value.

 

I am using below but it is not working.

 

Connect-CIServer -Server vCD_IP -user User -password Password

$CIVM = Get-CIVM "VM_Name" -Org "ORG_Name"

$CIVM.ExtensionData.Section[0].Item[6].VirtualQuantity.Value = 2

$CIVM.ExtensionData.Section[0].UpdateServerData()

 

I can achieve this with vCloud REST API but i need vCD PowerCLI script.

 

Kindly help.


Viewing all articles
Browse latest Browse all 13334

Trending Articles



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