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,...

PowerShell Logging Module

The SysAdmin PowerShell Module consists of a diverse set of functions, but there is one set of functions that is leveraged in every other function…Logging! The logging functions provide visual feedback to the user about the progress of a script. It can also...

Systems Admin PowerShell Module

Over the past year, I have passed from PowerShell n00b to being able to script/code anything that has been thrown at me. One of the main reasons I have been able to progress this far with my PowerShell abilities are all the great blogs and resources on the internet. I...