revlis.nl
Stash of notes about OSS, OSes, virtualization, dev hobby projects &c
December 16, 2019 — 15:33
Author: silver Category: virtualization Comments: Off
Tired of typing that root (or admin) password into console? Thanks to the always excellent virtuallyghetto.com there’s an easier method now. It works with all kinds of text by sending usb scan codes.
It uses an object VMware.Vim.UsbScanCodeSpecKeyEvent
which is used with $vm.PutUsbScanCodes()
However, ready to use PS and GO code is already provided.
Using PowerShell this can be combined with Get-Credential
for example.