Re: [Puppet Users] Bolt: Running a ps-script making a web request with credentials

2019-11-25 Thread Andreas Torbiƶrnsson
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. >

Re: [Puppet Users] Bolt: Running a ps-script making a web request with credentials

2019-11-25 Thread KevinR
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

Re: [Puppet Users] Bolt: Running a ps-script making a web request with credentials

2019-11-24 Thread Glenn Sarti
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

[Puppet Users] Bolt: Running a ps-script making a web request with credentials

2019-11-22 Thread Andreas Torbiƶrnsson
Hi group! Hoping that someone can help me with an issue I'm having. It's in a windows environment. I'm trying to run a script on a remote windows machine using Bolt. The script looks up the latest version of chocolatey from a on prem nuget feed, downloads and installs chocolatey. Running the