How to use Powershell to customize “Region and Language” settings in win7 or win2008

Question:

I am new to Powershell and I have searched the internet for whole day but still cannot find out how to customize “Region and Language” settings using Powershell in win7 or win2008.

I want to change the following settings within Powershell:

  1. Current System Locale
  2. Short Date and Long Date format
  3. Short Time and Long Time format
  4. Current Location

Anybody knows how to do that using Powershell? Cmd/Bat/.NET solutions also welcome!

Answer:

I know your question was about Windows 7; this information may be helpful for those now running newer versions. Set-WinUserLanguageList, New-WinUserLanguageList and Get-WinUserLanguageList in Windows 8 and up let you control the installed languages. For example to add a language:

Set-Culture in PowerShell 3 lets you change culture, for example to choose defaults for Germany:

Or, to set custom formats:

To change the location, use Set-WinHomeLocation, for example to set the user’s location to Austria:

MSDN has a list of GeoIds and a TechNet has a reference for international settings cmdlets.

Source:

How to use Powershell to customize “Region and Language” settings in win7 or win2008 by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply