VMware Cloud Community
RoyalFlash
Enthusiast
Enthusiast

Edit CIVM Description with PowerCLI

Hi,

I would like to change the Description on about 1000 VMs in vCloud Director

I cannot find a cmdlet to edit the description.

Is there any way to change the description field?

VMware Cloud Director version: 10.2.2.18686238

(Please check the screenshot)

vCloudDescription.jpg

0 Kudos
2 Replies
Macleud
Enthusiast
Enthusiast

Hi.

$vm = Get-Civm 'My Vm Name' | Get-ciview

$vm.Description = 'My Description.'
$vm.UpdateServerData()

0 Kudos
RoyalFlash
Enthusiast
Enthusiast

Thanks, working 🙂

0 Kudos