Re: PowerShell?
? is an alias for select-string here? sorry, I'd rather stick to the whole enchilada, these aliases are confusing me, if reference docs talk about select-string, sls or ? just add another layer of confusion, IMHO.
the point I was trying to make is that you can't just "wing it" with a grep, you need to know your upstream object. if my ls wasn't just a plain ls, but an ls -l and if I wanted to find foo anywhere in its output, I'd have to cast the whole thing to a string because select-string wants strings and it's not getting them.