Connecting to VCENTER 6.5 (vSphere Client version 6.5.0.5300)
Exception calling "PutUsbScanCodes" with "1" argument(s): "Cannot complete the operation due to an incorrect request
to the server."
At C:\Users\mfreeman\Desktop\VMKeystrokes.ps1:160 char:5
I got this option on a machine that was an OVA. I wonder if there is a specific setting the VM must support or have in its VMX file in order for this to work
Reproduction steps:
Powershell> . /VMKeystrokes.ps1 Powershell> Set-VMKeystrokes -VMName $VM -Stringinput "root" -ReturnCarriage $true
Connecting to VCENTER 6.5 (vSphere Client version 6.5.0.5300)
Exception calling "PutUsbScanCodes" with "1" argument(s): "Cannot complete the operation due to an incorrect request to the server." At C:\Users\mfreeman\Desktop\VMKeystrokes.ps1:160 char:5