2 Replies Latest reply on Mar 2, 2017 10:17 AM by paulrg

    Looking for vCD PowerCLI script to update VM CoresPerSocket value.

    vinothkumarn Lurker
    VMware Employees

      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.