Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

get-aduser can i run against forest ?

$
0
0

Hello All,

I have 2 domains:-

d1.mydomain.com and d2.mydomain.com.

User I am trying to find is in d2.mydomain.com but I am running Get-AdUser cmdlet from within d1.mydomain.com. For this cmdlet to give the result, I need to provide -ServerName property with value equal to any DC host names belonging to d1.mydomain.com.

However, I do not know this DC name at runetime :(

Is there any way I can run this cmdlet against entire forest?

Can I set referral chasing to this cmdlet? If yes, how ?

Note:I cannot use quest cmdlets :(


/M


Viewing all articles
Browse latest Browse all 31638

Trending Articles



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