Let’s say you have connected to your computer some human interface device (HID) that can simulate key presses (e.g. Arduino with a button) and you want to do some debug.
If you wonder how to capture a keystroke in Windows and detect which key has been pressed, this can be easily done from the PowerShell. (more…)