Answer the question
In order to leave comments, you need to log in
How to make PowerShell work through Kerberos?
I have a script that ...
UPD: My question is, there are scripts that are in the TaskScheduler and run on behalf of another user (who has access to the resource), now the script goes to a certain resource, gets authorized and downloads the file
, it does it like this: Invoke- WebRequest -uri $site -UseDefaultCredential
as soon as I disable NTLMv2 it all stops working. Turning it on is not an option. How can I fix it?
UPD: if you leave -credential "" and enter crits manually, then similarly, it works with ntlm enabled, not with disabled.
Answer the question
In order to leave comments, you need to log in
You need to go google how to set up WinRM via Kerberos - and set it up. And then write to the forum - what you did and what did not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question