18 December 2021
Case-sensitive and Case-insensitive String Comparisons in PowerShell
I wrote a PowerShell script the other day and, while doing so, discovered an interesting fact about string comparison in PowerShell that is quite contrary to .NET (and thus unfamiliar for me): string comparisons are case-insensitive by default.