Thanks for the update Gaurav. Would it be possible to reveal some thoughts about the future for vmcli? - as the need for full automation is a requirement for us, for a potential move from Virtualbox.
-------------------------------------------
Original Message:
Sent: Aug 05, 2025 12:28 AM
From: Gaurav Joshi
Subject: VMCLI - add encryption for enabling TPM
Thank you for trying this out, but Currently `vmcli` doesn't support creating VMs-disks with encryption or add VTPM device.
Original Message:
Sent: Aug 04, 2025 09:03 AM
From: Soren Schimkat
Subject: VMCLI - add encryption for enabling TPM
Been testing this script, but with no success: VMwareVMX
The script was able to encrypt and decrypt the .wmx file, but VMware didn't seem to be able to read the file (the password could not be validated).
All this means that it's currently not possible to create a functional Windows11 guest using scripting, as a TPM module (hence encryption) is required.
Original Message:
Sent: Jul 02, 2025 07:03 AM
From: Soren Schimkat
Subject: VMCLI - add encryption for enabling TPM
Hi all
My automation for building VM's with VMCLI is slowly going in the right direction, but I'm having trouble with figureing out how to add encryption to the .vmx, in order to allow a TPM module in the VM.
How would I add encryption with code?