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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Have a look here: http://blogs.msdn.com/b/powershell/archive/2006/04/25/583235.aspx
and here: http://poshcode.org/2226:
Additional Info
To find which values can be used for
$culture:This will give you a list of Culture Types:
Selecting one of the above types (e.g. AllCultures) you can then list the available values of that type:
You can then use the Name or Number of the culture you’re interested in with the
GetCultureInfomethod to retrieve the value you’re after:NB: Thanks to implicit conversion, you could just pass the culture name or number (i.e. as a string or integer) to the
Set-Culturemethod which would automatically be converted to the expected CultureInfo value.