19th February 2013 · Luca Sturlese
Important Update

As of September 2015, I have released version 2 of my PowerShell Logging solution, and is now known as PSLogging.

There has been a number of significant improvements with the most notable being that the PowerShell Logging function library has now been converted into a fully fledged PowerShell module. All of the details about the new version, the improvements and how to use and integrate the new version into your new and existing scripts can be found here – PSLogging PowerShell module.

Note: This version of the logging solution is no longer supported or maintained, so please upgrade to the new version today!

Today I thought I would share some thing that I have developed over the last year or so as I have been working more and more with PowerShell…. some standard functions that can simply be dot sourced and called at any time so that all my scripts have some awesome logs to go along with the awesome script.

Read More “PowerShell: How to easily create log files for your scripts”

27th November 2012 · Luca Sturlese

Last week at work I was having such a great time until my Windows machine got a Blue Screen of Death (BSOD). I was trying to figure out what caused it, until one of my colleagues told me about BlueScreenView – an awesome little app that loads the minidump file created by Windows and will pin point exactly what the problem was. It is so awesome, that it can actually re-create the blue screen of death and give you a preview of what it looked like.

Read More “Troubleshoot Blue Screen of Death (BSOD)”

7th August 2012 · Luca Sturlese

Last week I had a user report that his account kept locking a number of time throughout the day. Usually this is because they haven’t logged out of a machine and then have changed their network password, so when that remote machine tries to authenticate… bang account lockout.

More often than not, the user has no idea what he is still logged into, so the only way is to solve this is to go through the Security event logs on each domain controller and find the account lockout event for that user. This will then tell you from what machine the account lockout took place. You can then get the user to log out and problem fixed.

Although this works, to be honest it’s manual process which really like most manual processes…it’s boring. So then I thought, why not create a PowerShell script that can easily do this for me.

Read More “Use Get-WinEvent to find account lockout events”