2 ms·
But it worked, it didn't complain about no time property like I'd expect.
by flukus 10y ago
But it worked, it didn't complain about no time property like I'd expect.
- ygra 10y agoIt'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.