One Inch of Power: Get-Battery info!

This ‘One Inch of Power’ is a new piece I want to start doing, cramming a lot of functionality into an inch or less of PowerShell code.
Continue Reading...Working with SQL using PowerShell

I’ve seen a lot of people ask about how to do this, so I thought I’d provide some information on the matter. Previously I had a project in which I had to pull a ton of data from an extended SCCM database and massage it before importing into MDT to setup location settings and things like that for an automated zero-touch install with very granular configuration settings determined based on workstation location.
Continue Reading...Adding -WhatIf Support to your scripts the right way, and how you shouldn't do it
If you are a prudent sysadmin or consultant, you probably rely on using the -WhatIf command before ever running any serious PowerShell cmdlets in your environment. Since we love it so much, shouldn’t we build this very same courtesy into our tools that others will use?
Continue Reading...PowerShelling FizzBuzz

I recently learned about the FizzBuzz test, which is meant to help interviewers determine if a prospective hire can understand the fundamental logic needed to program.
Continue Reading...Resolving BSOD with Cisco VPN on Windows 8/ Server 2012 Hyper-V
Recently I began to support a client remotely, and noticed a huge spike in blue screen events on my PC, after I installed their VPN client. I was using a Server 2012 R2 box configured with desktop experience, and as a Hyper-V host.
Continue Reading...ScriptSharing : Quest Get-SwitchedStatus
This is another Quest Migration Manager for Exchange, Active Directory (QMM post).
Continue Reading...