2016-01-13

Print Screen button on a Surface Type Cover

I really missed the Print Screen button on my Surface Pro Type Cover for a long time. Just recently I found out that it was there all the time :-(

[Fn] + [Space]

It can also be combined with other keys like [Alt] + [Fn] + [Space]

I have no idea what took me so long to figure it out ...

2016-01-01

Checking for reboots

Sometime we schedule reboots on a machine and would like to know the next day if the reboots were successful or not.

The easiest approach for me is to look for event log entries that show that the Event Log service was started.

This can be done by filtering inside the Event Log console but I prefer this PowerShell one-liner that checks for these entries during the past 24 hours:

Get-EventLog -After $(Get-Date).AddHours(-24) -EntryType Information -Source EventLog -LogName System | Where {$_.EventID -eq "6005"}