Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Get-AdUser -Filter for homeDirectory

$
0
0

I guess there's something I don't know about -filter syntax for this command...

get-aduser -filter {homeDirectory -like "*\faculty\homes\*"} -property homeDirectory

returns results, but...

get-aduser -filter {homeDirectory -like "\\faculty\homes\*"} -property homeDirectory

...will not. All results returned by the first have homes starting with \\faculty\homes\...

What gives?



Viewing all articles
Browse latest Browse all 15028

Trending Articles



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