Invoke-WebRequest -URI options

John Bell 0 Reputation points
2024-11-22T16:15:55.67+00:00

powershell comman Invoke-WebRequest -URI "atos-cov-remote.gpcloudservice.com"

returns

Invoke-WebRequest : The remote server returned an error: (504) Gateway Timeout.

At line:1 char:1

  • Invoke-WebRequest -URI "atos-cov-remote.gpcloudservice.com"
  • 
        + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
    
       eption
    
        + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,021 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,640 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.