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

how to search two different ou in same power shell command

$
0
0

 Get-ADUser -Filter * -SearchBase "ou=testou,dc=Domain,dc=net" -and "ou=salseou,dc=Domain,dc=net" -and "ou=VIP,ou=new,dc=Domain,dc=net"

above commands is not helping me to get specific these OU user details. Please correct this poweshell command


Raj


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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