" , ", , ". , , ( , t). , , .
'a','b','c' -eq 'b'
1,2,3,4,5 -lt 3
1,2,$null,4,5 -ne $null
1,2,$null,4,5 -eq $null
:
[bool]($objectArray -ne $null)
#True
#filters the array, returns some values
#arrays with some things in them cast to true
$objectArray -eq $null
#Nothing is outputted
# nothing in the array was null, no output.
[bool]($objectArray -eq $null)
#False
# filters the array, empty arrays cast to false
, return Boolean value. , . .
(-Contains, -NotContains), In (-In, -NotIn) (-Is, -IsNot), .