WinRM ne peut pas traiter la demande - échoue uniquement sur un domaine spécifique

Certains des nôtres serveurs (W2K8 R2) ont été déplacés vers le cloud, la semaine dernière, une fois fait, que mon powerswhell script a commencé à échouer (marchait très bien avant), l'exception est levée sur la ligne où la connexion est d'essayer d'être établi,

$ExSession = New-PSSession ConfigurationName Microsoft.Exchange ConnectionUri     "http://$g_strExchangeServer/PowerShell" `
-Credential $Credentials –Authentication Kerberos

Avec le message suivant,

[subd.staging.com] Connecting to remote server failed with the following error message : 
**WinRM cannot process the request**. 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 use 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 onfig. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed

cela n'arrive que si j'essaie de cibler notre domaine de test, si je le script de notre domaine de production, alors il fonctionne.

Le même message d'erreur est affiché sur tous les serveurs qui ont déjà été déplacés vers le cloud.

Avis que tous les serveurs qui n'ont pas déjà été déplacé vers le cloud sont en mesure d'exécuter le script dans les deux domaines, sans aucun problème.

J'ai essayé ce qui suit, mais pas de chance.

//Add the destination computer to the WinRM TrustedHosts configuration setting. 
c:\>WinRM set winrm/config/client @{TrustedHosts="stagingserver"} 


//Confirm that WinRM is properly configured.  
c:\>Winrm quickconfig  

//Make sure that the remote server allows commands from any machine. 
PS c:\>Set-item wsman:localhost\client\trustedhosts -value * 

À l'aide de Powershell v2 et WinRM v2

Tout les commentaires sont les bienvenus.

source d'informationauteur g3n1t0