Thanks a lot, KevinR and Glenn! Was definitely the second-hop problem.
Toband
On Monday, November 25, 2019 at 11:01:17 AM UTC+1, KevinR wrote:
>
> Yep you've run into the second-hop problem as Glenn mentioned. I tried
> your script in a remote Powershell session and it has the same problem.
> B
Yep you've run into the second-hop problem as Glenn mentioned. I tried your
script in a remote Powershell session and it has the same problem.
Basically the issue is that the credential cache is empty on the remote
machine (as a security precaution), which prevents you from use the
DefaultCreden
Hi Toband,
This sounds exactly like the Double Hop problem with WinRM authentication
https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/ps-remoting-second-hop?view=powershell-6
https://blogs.technet.microsoft.com/ashleymcglone/2016/08/30/powershell-remoting-kerberos-double-ho