You can set Ctrl + Shift + 1 to switch keyboard to English, and set Ctrl + Shift + 2 to switch keyboard to some other language. This can be done in Windows settings ("Hot keys for input languages").
Now, my keyboard has a number of additional keys, which are free to bind to user's actions. Keyboard software allows you to specify an application (command line) to execute when such additional key is pressed.
So, I want to assign keyboard switching to these additional keyboard keys. Is there a way to do this via command line or powershell?
P.S. I could write an app to switch keyboard, but I would rather prefer to use build-in features only.