VMware Cloud Community
vivari
Enthusiast
Enthusiast

Is it possible to edit vmdk descriptor file using powershell/powerCLI

I just want to change the Parent CID(content ID) of a snapshot descriptor file using powershell. (I am aware of manual process)

I am looking for a powershell script to edit the descriptor file and make the necessary changes at Parent CID:

is it possible ? please share me your thoughts on the same.

0 Kudos
1 Reply
LucD
Leadership
Leadership

You could use the VimDatastore PSProvider.
There is a sample script to edit the VMX file, but the VMDK descriptor should be similar, in Re: Need to remove advanced values from VMX file


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos