Event Log Email Alerts with PowerShell

Source on GitHub: https://github.com/blachniet/blachniet-psutils Have you ever wanted to send out email alerts when an particular event appears in the Windows Event Log? The Task Scheduler provides the ability to send out emails when an event is logged, but it doesn’t allow for SMTP servers that require any sort of authentication. I wanted to send the emails from a Gmail , so created a PowerShell script to handle this. The script takes in quite a few required parameters in order to make it more flexible and reusable, so it may seem a little complicated at first....

July 28, 2013

Welcoming WebP

Apparently Google has started using WebP image format with the redesign of the Google Play store. Only Chrome supports the image format at the moment, so if you are using another browser you will get the standard PNG. I did a quick test to see how big of a difference it actually makes. I grabbed the icon from the Chrome Browser page on Chrome and then on IE. When downloaded, Chrome’s WebP file was 11....

July 23, 2013

Referencing EF Resources in a Specific Assembly

This post and sample application demonstrate a possible issue with the way that Entity Framework loads the embedded metadata resources (csdl, msl, ssdl) for the entity model. In my application, all assemblies in some specific directory are discovered and loaded at runtime. Think of it as a sort of plugin model. The application allows for multiple versions of the same assembly to be loaded, and each dll follows the [AssemblyName].[Version].dll naming scheme....

July 13, 2013

Host Git Repositories on a Windows Share

I usually use BitBucket or GitHub to host my git repositories, but sometimes I need to host them on some internal network. In this post I will show you how to host those repositories on a Windows share. I’m going to cover two scenarios: 1) You already have a git repository 2) You are starting fresh with a brand new repository. For both of these tracks I’m going to assume that you already have a Windows share set up on some remote computer, and that you have the read and write permissions on that share....

June 24, 2013

746GB in a 3TB Seagate Drive

So I finally got the time to install my 3TB hard drive in my home server, but ran into some problems. After installing the drive, it showed only 746GB available on the drive. I know I’m never going to see 3000GB (because hard drive manufacturers are liars) but this was way below the expected size. Luckily, I’m not the only one that’s run into this issue. My first instict was to go to Disk Management to try to extend the volume, but when I got in there, it only showed the single volume with 746GB, and no unallocated space....

June 2, 2013