optimized-azerty-win
                                
                                 optimized-azerty-win copied to clipboard
                                
                                    optimized-azerty-win copied to clipboard
                            
                            
                            
                        Installer ce clavier en ligne de commande
C’est peut être un peu hors-sujet, mais je cherche comment installer et activer automatiquement ce clavier sur une nouvelle installation de Windows (pour une machine virtuelle)
Est-ce qu’il y a une commande PowerShell pour activer le clavier Français - AZERTY NF Z71-300 ?
J’ai trouvé ! Après avoir installé le driver, on peut activer la variante « AZERTY amélioré » en faisant (dans powershell) :
$Lang = New-WinUserLanguageList fr-FR
$Lang[0].InputMethodTips.Clear()
$Lang[0].InputMethodTips.Add('040C:A001040C')
Set-WinUserLanguageList -Force -LanguageList $Lang
(adapté de la réponse à la page https://stackoverflow.com/questions/60668400/changing-keyboard-layout-in-powershell-for-multiple-languages/60669214#60669214 )
(la commande Set-WinUserLanguageList -Force -LanguageList fr-FR fonctionne pour changer la langue mais utilise l’ancien clavier AZERTY)
@xDEADC0DE merci beaucoup ! Ça me semble très utile.