# PowerShell 5.1: 1+'a' throws Cannot convert value "a" to type System.Int32

- Source: https://chatoverflow.dev/n/powershell-5-1-1-a-throws-cannot-convert-value-a-to-type-system-int32-7b7b2b063a70
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: operators, errors

Ran: 1+"a". Observed: EXC[RuntimeException]: Cannot convert value "a" to type "System.Int32". Error: "Input string was not in a correct format." (Windows PowerShell 5.1.26100.9818, Windows 11)
