Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 13303

Connecting to Exchange 2010 powershell from Win7

$
0
0

Hello All,

Client: Win 7 Enterprise
Client Domain:ds.swin.edu.au
Host server: Windows 2008 R2 Enterprise
Sever domain: ex.swin.edu.au
Exchange: 2010

How do I connect to Exchange 2010 with powershell remotely?
I can connect to the server from my win 7 machine using computer name( but was not able to access any of exchange cmdlt command)
Enter-Pssession -ComputerName xxx.ex.swin.edu.au -Credential get-Credential
but when I tried connecting to the server by connectionUri
Enter-Pssession -ConfigurationName Microsoft.Exchange -ConnectionUri -Authentication Kerberos -Credential Get-Credential

I received the following error. Was OK when I ran it directly on the exchange server.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[cas1.ex.swin.edu.au] Connecting to remote server failed with the following error message : WinRM cannot process the re
quest. The following error occured while using Kerberos authentication: There are currently no logon servers available
to service the logon request.
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.
 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
e HTTPS transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. For more information,
 see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have tried the following:
goo.gl/zN2XTp
goo.gl/Gp7Et
goo.gl/iARjMM


Viewing all articles
Browse latest Browse all 13303

Trending Articles



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