My Geek Code

My Geek Code

When I first started out in IT, I was lucky enough to find Wil Wheaton’s original site that contained a BBS called “Teh Soapbox”. This site lead me to a little known Geek Code standard. Yes the standard is out of date, but seriously its the Geek...

Formatting Strings in Powershell

Formatting strings in PowerShell is easy, just include the variable inside the string and it does it automatically, right? What about when you are using variable values (i.e. $ds.count)? Then you have to write an ugly line of code like: $string = “There are...

Creating XML Documents from Powershell

We all know I have OCD when it comes to formatting. Using the built in PowerShell cmdlets (Export-XmlCli) to export XML left me with a mess of an XML Schema that I couldn’t apply a XSL Transform to. I needed something that would allow me to control the schema,...

Service Accounts, A Necessary Evil

Service Accounts are a necessary evil in systems administration. They tend to be shared across members of a team, have access to sensitive data and critical infrastructure. Yet, most companies have minimal safeguards in place for these accounts, and even less policy...

Disable Autorun GPO

In my past life as a consultant, I ran across an unusual exploit that was created when someone added an autorun.inf to the root of the company shared drive. This exploit infected the systems with malware that was easily removed, but it could have been worse. As a...