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

Get-ADUser in domain2

$
0
0

I logged on $domain1

I got the following error when running  Get-ADUser -Filter {samaccountname -eq $userid} -Server $domain2

Get-ADUser : Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services

$domain2 exists. I can access it by using ADUC and users logging in it. I also tried fqdn with same error. Any suggustion? Thanks


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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