Hi Guys,
Can someone tell me why I get $TRUE with this?
$foo = @('A','B','C') if ($foo -Contains 'X') {Write-Output $foo} if ($foo -Contains 'X' -or 'Z') {Write-Output $foo} A B C
Thanks
Hi Guys,
Can someone tell me why I get $TRUE with this?
$foo = @('A','B','C') if ($foo -Contains 'X') {Write-Output $foo} if ($foo -Contains 'X' -or 'Z') {Write-Output $foo} A B C
Thanks