VMware Cloud Community
Idgar
Contributor
Contributor

Change vCloud Director virtual machine properties

Hi,

I'm trying to change vCloud Director VM names from PowerCLI.

Unfortunately, i cannot find an appropriate cmdlet.

i used get-civm to get virtual machines from vCloud, but there isn't set-civm cmdlet.

Does anybody knows a solution?

Best regards,

Or Idgar

Tags (2)
0 Kudos
2 Replies
IamTHEvilONE
Immortal
Immortal

If this were the REST API, you just GET the VM information then POST it back with the changes as required.

There is also a forum specific to the vCD API:

https://communities.vmware.com/community/vmtn/developer/forums/vcloudapi

I can't seem to find a forum that's specific to the PowerCLI for vCloud.

0 Kudos
TeKilla79
Enthusiast
Enthusiast

i think actually you cant change anything on you vcloud vms via the vcloud powercli, you can only start-civm/stop-civm/stop-civmguest/suspend-civm your civm's

example: Get-CIVapp "vappname" | get-civ -name "vmname" | stop-civm

0 Kudos