Thursday, April 30, 2015

My sessions at Ignite 2015

Just days away from Ignite in Chicago, and I am already on the way from Norway.
I will do 2 different sessions this year with a repeat on both.

This is Windows Theater sessions so that means it will be 15-20 intense minutes, no time for bull.

Wednesday, April 22, 2015

Check if your script are running in administrator context

Doing system changes via a script files will often require that you run it in the context of administrator.

Doing this with script I run myself is easy enough, I know that if it fails it is because I forgot to use "Run as administrator" when I started it (or did a poor job creating the script).
However when creating scripts that other people will run it will be a good idea to add a check in the script and give feedback to the person running it.

When was Windows started?

How long have the Server of PC been running? Sometimes you need to figure when the OS was started. As always there are different was of get...