Powershell invoke-webrequest not working
问题 I have a Powershell script that is supposed to run an Invoke-WebRequest against a site. I want to use this script with PRTG Network Monitor to ensure that a web server is up and running properly. Currently, the script works running from my local machine as well as running with my domain credentials on the probe server. However, it doesn't run when logged in with the local admin credentials which is what PRTG uses. I've narrowed it down to a single line, Invoke-WebRequest $uri -Method POST