Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6330157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:49:11+00:00 2026-05-24T17:49:11+00:00

I am using powershell on windows vista. How do I change the culture of

  • 0

I am using powershell on windows vista.
How do I change the culture of current session?
My computer’s culture is tr-TR so I am getting the error messages on Turkish. I would like to change to EN?

any chance?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:49:12+00:00Added an answer on May 24, 2026 at 5:49 pm

    Have a look here: http://blogs.msdn.com/b/powershell/archive/2006/04/25/583235.aspx

    and here: http://poshcode.org/2226:

    function Set-Culture([System.Globalization.CultureInfo] $culture)
    {
        [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
        [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
    }
    

    Additional Info

    To find which values can be used for $culture:

    • This will give you a list of Culture Types:

      [Enum]::GetValues([System.Globalization.CultureTypes])
      
    • Selecting one of the above types (e.g. AllCultures) you can then list the available values of that type:

      [System.Globalization.CultureInfo]::GetCultures( [System.Globalization.CultureTypes]::AllCultures )
      
    • You can then use the Name or Number of the culture you’re interested in with the GetCultureInfo method to retrieve the value you’re after:

      $culture = [System.Globalization.CultureInfo]::GetCultureInfo(1033)
      $culture = [System.Globalization.CultureInfo]::GetCultureInfo('en-US')
      

    NB: Thanks to implicit conversion, you could just pass the culture name or number (i.e. as a string or integer) to the Set-Culture method which would automatically be converted to the expected CultureInfo value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

NOTE: I'm using PowerShell 2.0 on Windows Vista. I'm trying to add support for
Using Windows PowerShell, how do I change the command prompt? For example, the default
In a Windows Server 2003 R2 environment, using Powershell v2.0, how would one duplicate
I am having trouble getting physical memory information from windows management objects using powershell.
I'm using PowersHell to automate iTunes but find the error handling / waiting for
I'm trying to change a site's home directory using powershell. This is what I
is there a way to move a folder to trash using cmd.exe? (Windows Vista)
Can PowerShell on Windows by itself or using simple shell script, list files and
I'm using gvim on Windows. In my _vimrc I've added: set shell=powershell.exe set shellcmdflag=-c
I'm using windows powershell to manage git, but am limited in that it can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.