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 :
#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!