Powershell – Error – InvalidCastFromStringToInteger – “Input string was not in a correct format.”

Background Wanted to quickly document an error message I received earlier today working on a little Powershell script. Error Error Image Error Message Code Code - Error Code - Correction Outline The issue is with trying to divide within the format statement To correct Place parentheses around the arithmetic operation $ts.Milliseconds / 10 becomes ( … Continue reading Powershell – Error – InvalidCastFromStringToInteger – “Input string was not in a correct format.”