Solved

Powershell script to change keyboard layout

Posted on 2014-01-30
2
6,152 Views
Last Modified: 2014-01-31
Hello,

I am wondering if you can help me.

I am trying to build a powershell script which I can change the keyboard layout to english united kingdom india (0809:00004009).

My environment I am using is powershell 3 and Windows Server 2012.

I have looked at the technet web page.

http://technet.microsoft.com/en-us/library/hh852168.aspx

But its a bit confusing how to set the setting.


$language = New-WinUserLanguageList en-gb
$language.Add("0809:00004009") (English India Keyboard)
Set-WinUserLanguageList $language


LanguageTag     : en-GB
Autonym         : English (United Kingdom)
EnglishName     : English
LocalizedName   : English (United Kingdom)
ScriptName      : Latin script
InputMethodTips : {0809:00000809} *Set this to 0809:00004009
Spellchecking   : True
Handwriting     : False

I tried the following :



$india="0809:00004009"
$a=New-WinUserLanguageList en-GB
$a.add($india)

set-winuserlanguagelist $a

WARNING: The list you attempted to set contained invalid languages which were ignored


Also this Set-WinDefaultInputMethodOverride "0809:00004009" , but it doesn't change it.
0
Comment
Question by:Nightlife2004
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 500 total points
ID: 39823469
Try this:

Set-WinUserLanguageList en-IN
0
 

Author Closing Comment

by:Nightlife2004
ID: 39825019
Thanks it seems to be working now.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Synchronize a new Active Directory domain with an existing Office 365 tenant
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question