3 ms·
It's a scripting language, essentially. Reading properties that don't exist most of the time just gives you $null. That being said, while there is Set-StrictMod
by ygra 10y ago
It's a scripting language, essentially. Reading properties that don't exist most of the time just gives you $null. That being said, while there is Set-StrictMode, it only helps in this case for directly accessing properties of objects. Indirectly via Sort-Object still doesn't raise an error, annoyingly.