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