Service Manager Portal returns HTTP 500 – internal Server Error

We use the new portal for the Service Manager. Today we got an “HTTP 500 – internal Server Error” with Internet Explorer 11. The error message looks like that in german:

Error 500

We figured out, that this behaviour was because of an Internet Explorer Registry setting. If you set

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\AcceptLanguage to empty, you get this error message. So we (in Austria) choose AcceptedLanguage = de-AT,de-DE;q=0.5 and it works fine again.


Your Error Code is too red?

So you think, the PowerShell Error-Code is too red?


It should be better green? There are ways.

$psISE.Options.ErrorForegroundColor = [System.Windows.Media.Colors]::Chartreuse<br>


$host.PrivateData.ErrorForegroundColor = ‚green‘

So error color will change to a more friendly green.


This runs on PowerShell ISE as well as on Visual Studio Code. I hope you’ll like it.

One more hint: Some people think, yellow is the best error color.

Get a Header into an Array

Today I’ve been asked, how I can get a “header” for an array. So you can access the  contents via a property like $Obj.AccountName.

image => image

The idea was given by

Import-Csv -Header

I found some solutions to this.

Explicit with a class

### Explicit with a class
class User
User ([String[]]$Username)
           $this.Accountname = $Username
@('myUser','Your') | % {[User]::new($_)}

Implicit with select (somewhat shorter)

@('myUser','Your') | select @{l='Accountname';e={$_}}

Implicit with PSCustomObject

@('myUser','Your') |  %[PSCustomObject]@{ Accountname = $_ }} 


What are the results? Are the results equal?

The result always look like this:


In each case we get an object array (Object[]). But there are different objects in it. With the class version there are self defined “User” Objects in the array. In the two other cases we get an unspecific PSCustomObject.

Experts Live Café Austria/Linz Review

Our event is over and it was great! An exciting Experts Live Café in Linz with nearly 20 participants, including 6 MVPs.

This time we had a Docker session with Michael Pambalk-Rieger’s on our agenda. He added some new parts to his session on the Experts Live Conference. And he had so much to tell, that he run out of time.

Next, Roman Stadlmair explained service maps to us and gave us a few practical examples.

Helmut Otto rounded off our program with Azure IoT today – he showed us Azure IoT and gave us some anecdotes.

Afterwards, we were able to enjoy the catering of Secureguard with a cosy networking.

We are already looking forward to our next events.


Experts Live Café Austria/Linz Review

On October 5th we had our Experts Live Café in Linz/Leonding at Cubido.

Good atmosphere and technically experienced participants brought us an exciting evening with 3 interesting lectures and many, many discussions.

This time the main topic was “Security”. Christian Olescher started with “Is PowerShell dangerous?” – a lecture dedicated to security under the current PowerShell version 5.1. Some content was based on the blog post by David des Neves – PowerShell Security at Enterprise Customers.

Next, Karl Lehner gave us an impressive presentation on “Bitlocker” – not only technology, but also hints on how to organize the Bitlocker in companies.

In the third lecture, Stefan Denninger dealt with governance in Azure – also very considerably, what possibilities there are and what should be planned when using it.

All in all, we had a really exciting evening on the topic of “Security”.

Here are some photos.


PowerShell 10 Year

PowerShell got 10 years and our usergroup made an contribution to the 10 years anniversary. We had a lots of fun and we finnaly made a really nice video for the Channel 9 stream.

I want to thank all for making the video possible. Thanks to Daniel, who cut the statement video. He also made some Mountain videos – mainly from Upper Austria. These are really nice – so have a look at them.

What will you see in our contribution? Our usergroup members made some statements how PowerShell changed their lives and Roman & friends did an IoT video of his garden sprinklers – with some real nice action in it. Now have a look at the videos on Channel9:

Austrian contribution – Dwarfs and Moods and member statements

10 Year anniversary of PowerShell

Review of our Usergroup Meeting in Linz / Austria

We had our Linzer spring System Center and Powershell Usergroup on 28th of April. We managed to get three top speakers for the event. Our next Usergroup event will be at Microsoft Vienna on 30th of June. Register now!

So when you get interested in the user group, the information we share – find us on Xing or follow us on twitter for the newest information. (@scug_at).

As always we have had a nice location. The photos are this time from Stefan Koell.

Session 1: The role of IT operation in times of SaaS and PaaS

Rainer presented us in a really great and enthusiastic way how they see operations in their company timecockpit. He mentioned that they need very little ops and they need ops to know the service level agreements in the cloud.

He also teased, that Powershell is not necessary anymore, because in a SaaS world it should be only necessary to use the Service.

More about his thoughts is here in the Interview and he also recorded the session.

Session 2: SCOOSP – System Center Orchestrator Service Portal

In the second session Michael Seidl (aka Techguy) presented us SCOOSP – an easy to manage Portal for the System Center Orchestrator. With this portal you can do lots of things with less technical effort than using the System Center Service Manager and its portal. So when you are interested – have a look at it.

Session 3: Attack & Defend mit Powershell

In our last session Alexander Graf from Antares showed us their intrusion detection solution. They assumed an usb stick with maleware on it, which communicates with a command server. So their solution found the suspicious behavior.

So we have had three interesting Sessions from interesting speakers with some networking at the end with a really tasty “Mostviertler Bauernjause” including fantastic juices. Thank you Antares!