Posts tagged "vmware"

Invoke-VMScript: An error occurred while sending the request

After upgrading the PowerShell module to the latest version now available (, my invoke-vmscript goes wrong. The following exception occurs:

Finally after a couple hours of troubleshooting, parameter checking and reinstalls we found the issue. The issue is caused by a untrusted certificate of the VMWare VCenter server.

To solve this the “recommended” way: Check and fix your certificates on your system and VCenter server.
The dirty “not recommended” way: Add the following code to your script.

Converting a VMWare CentOS VM to Hyper-v

After converting the VMDK I faced the issue that the VM Won’t boot without preinstalled Hyper-V drivers.
Fixed this with regenerate the Initrd BEFORE converting to Hyper-v (VHDX).