I was trying to create a script to switch between input languages using the command Set-WinUserLanguageList, as explained here.
That command worked for chaning the input, but know the switch input button that was in the task bar has disappeared, and the hotkey (Windows key + space) has stopped working.
I have checked that I still have the three languages I had before (Spanish, English and Japanese) installed, and I have checked that this button is visible according to Settings > Taskbar > Turn system icons on and off.
I think that the command above may have modified some system variable, what can I do?