TKG+NSXT automation script fails on the VM strokes with error: "Put USB HID scan codes"
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 951
- Forks
- 504
- PR merge metrics
- No merged PRs in 30d
Description
After running the script to automate vSphere with Kubernetes external NSXT lab, I got this error:

I'm running this against a vCenter Server 6.7.0 Build 11727113 and an ESXi host 6.7.0 13006603 using PowerShell 7.0.0-preview.6 and PCLI 12.1.0.17009493.

Doing some research I found something similar on this issue opened before about the script VMKeystrokes.ps1 :
https://github.com/lamw/vghetto-scripts/issues/66
so it is almost the same problem...no solution is provided and it is closed, wonder if you guys can provide some light on this, to continuing testing some cool demos :) .
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TKG+NSXT automation script and compare its VM keystroke handling with VMKeystrokes.ps1 and the referenced issue 66. Reproduce the failure using the reported vCenter, ESXi, PowerShell, and PCLI versions. Done means identifying the cause of “Put USB HID scan codes” and documenting or implementing a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, powershell
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100