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

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

Ran: a..c. 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)
