Bug in Powershell v3 on regional settings in Windows 2012

In my previos post I was claiming that there was a bug in the Get-WinEvent, but the bug is in Powershell v3 and how it works with the regional settings.

I live in Sweden and thus have Sweden as regional format setting and that did Powershell version 3 not like, at least not for the Get-WinEvent cmdlet 😛

Screen Shot 2013-01-09 at 14.02.22

Using powershell to change the format or culture is done with the following

Screen Shot 2013-01-09 at 14.05.06
Get-Culture
Set-Culture en-US
Screen Shot 2013-01-09 at 14.13.54

And when I open a new PowerShell Console I can see the messages for my Hyper-V events 🙂 not so good with the bug though..

Screen Shot 2013-01-09 at 14.18.58

Lets hope there is a bug fix soon, a bit embarrassing when some parts of the powershell console is not working in other regional settings besides en-US, are we in other parts of the world not that important or just an mistake by an developer, lets hope for the later..

A big thanks to Andreas Hultgren that was first to let me know about the bug 🙂

Leave a comment

name*

email* (not published)

website