Hi,
To set up multiple keyboard layouts in PowerShell, you can use the following command:
Set-WinUserLanguageList en-US, sv, ru -Force
This command sets up three languages: English (United States), Swedish, and Russian. However, this command sets the default keyboard layout for every language. If you need a different layout for Russian, you can use the following code:
$rusLang = New-WinUserLanguageList ru
$rusLang[0].InputMethodTips.Clear()
$rusLang[0].InputMethodTips.Add('0419:A0000419') # required layout
Set-WinUserLanguageList en-US, sv, $rusLang
This code creates a new language list for Russian, clears the input method tips, and adds the required layout. Then, it sets up three languages: English (United States), Swedish, and the newly created Russian language list.
I hope this helps!