Closed SRGOM closed 8 years ago
(dir|where {$.Name -eq "Downloads"}).Exists (dir|where {$.Name -eq "downloads"}).Exists
Note that -eq is case-_in_sensitive. The case-sensitive operator is -ceq. So I'd say what you're experiencing is expected and correct.
I have the following dir structure
However, when I do
Both return
True
. The second should return false. I'm on the latest github code:Linux XYZ 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux