[decimal] conversion has some unexpected behavior depending on culture settings

I ran into an issue where I had to convert a string value to decimal, to run a switch case on it. Once the systemlocale setting was set to en-US, there were no issues with the script, but when set to nl-NL (or any other country that uses a comma as seperator), it didn't work … Continue reading [decimal] conversion has some unexpected behavior depending on culture settings

Writing to Excel

Background About a year ago I started writing things to Excel with PowerShell, based on the information I found on an MSDN blog - Create Excel file with PowerShell I wasn’t quite satisfied, though. I wanted some more formatting (specifically: change the top row behavior). It was somewhat frustrating to not be able to get … Continue reading Writing to Excel