Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMKeystrokes.ps1 - Exception calling PutUsbScanCodes #67

Open
mfreeman451 opened this issue Jun 26, 2018 · 1 comment
Open

VMKeystrokes.ps1 - Exception calling PutUsbScanCodes #67

mfreeman451 opened this issue Jun 26, 2018 · 1 comment

Comments

@mfreeman451
Copy link

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

  • $results = $vm.PutUsbScanCodes($spec)
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : VimException
@Gelob
Copy link

Gelob commented Jan 11, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants