Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

get-psdrive and operators

$
0
0

I find this command works
get-psdrive | ? provider -match "Registry"
but
 get-psdrive | ? provider -like "Registry"
or
 get-psdrive | ? provider -eq "Registry"

do not work. I'm sure there's a reason but can't figure out what it is.

thanks

David


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>