# New-PSSession Across Different Domains

**URL:** <https://forums.powershell.org/t/new-pssession-across-different-domains/8124>\
**Category:** PowerShell Help\
**Created:** [February 23, 2017, 10:18am UTC](https://forums.powershell.org/t/new-pssession-across-different-domains/8124 "2017-02-23T10:18:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddiericker](https://avatars.discourse-cdn.com/v4/letter/e/f6c823/32.png) [@eddiericker](https://forums.powershell.org/u/eddiericker)\
**Post date:** [February 23, 2017, 10:18am UTC](https://forums.powershell.org/t/new-pssession-across-different-domains/8124/1 "2017-02-23T10:18:42Z")

</div>

Hi,

I work for an MSP and I would like to do implicit remoting on remote servers that are on different domains. When I try to do New-PSSession with a server, for example New-Pssession -computername SERVER1 -credentials domain\administrator, and after entering in the password, I get the error: “WinRM cannot  
process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: There  
are currently no logon servers available to service the logon request.”

I have winrm configured on the server. I’ve also tried this in a run command: runas /user:“[domain]\administrator” /netonly “powershell” and then New-PSSession with no luck.

I’ve checked the about\_remote\_Troubleshooting but nothing seems relevant.

Is there something that I need to do with trusted hosts? Any help is greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [February 23, 2017, 11:16am UTC](https://forums.powershell.org/t/new-pssession-across-different-domains/8124/2 "2017-02-23T11:16:47Z")

</div>

See “Secrets of PowerShell Remoting” on our free Ebooks menu here. There’s a section on this.

Briefly, the default Kerberos authentication can’t work except in domains or within trust boundaries. You need to enable and specify another authentication mechanism. The safe way is to use only HTTPS and then Basic authentication. Do not use Basic with HTTP, as it will reveal credentials in clear-text.

But the ebook goes into great detail.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:39pm UTC](https://forums.powershell.org/t/new-pssession-across-different-domains/8124/3 "2024-05-16T20:39:14Z")

</div>

Closed on May 16, 2024, 8:39pm UTC


