$string -ilike "hello" False the above is outputing false, and not true." /> $string -ilike "hello" False the above is outputing false, and not true." /> $string -ilike "hello" False the above is outputing false, and not true."/>

powershell ilike operator not returning true

37 Views Asked by At
PS C:\Users\Administrator> $string = "hello world"
PS C:\Users\Administrator> $string -ilike "hello"
False

the above is outputing false, and not true. not sure what I am doing wrong

0

There are 0 best solutions below