question

drClays avatar image
0 Votes"
drClays asked ·

How to change errors language on English in Powershell?

Hello,

I use powershell on my local computer in Polish language and when I make scripts they show me errors in Polish language and sometimes in English. I would like to get errors only in English language.

I looking for solution in google, but solutions from year 2015 or lower doesn't get me solution.

Someone know how to change it now ?

My PSVersion is 5.1.x

windows-server-powershell
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered ·

Does this help (just replace "english" with "another language")? 560456-how-to-change-powershell-script-errors-to-english

There are certain properties (I forget which) of an Error object that cannot be localized. If those parts were to be localized there would be many problems with the portability of code.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.