I sort of understand the reasoning behind the decision to make the powershell syntax case-insensitive but when writing serious and complex scripts it is a terrible problem. Everybody is writing in his own style and reading and comprehending all that mess becomes mission impossible. Is there a way to turn on a “strict” mode which would require to use exact casing and ideally the long versions of the commands like Select-Object, Push-Location and so on?
If there is no such feature, is possible to request implementing it?
I don’t think there is any quick easy way to make PS globally case sensitive. You can force case sensitivity in certain situations like using comparison operators such as -ceq instead of -eq. Also, you might want to look at Set-StrictMode to eliminate what some (myself included) might consider bad coding practices that PS lets you get away with.