- 19 10月, 2018 1 次提交
-
-
由 Jared Parsons 提交于
When the LHS of an operator is a collection then `-ne $null` compares collection content, not checks for null. Using `$null -ne` instead. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-6
-