Summary: Use the Invoke-WebRequest Windows PowerShell cmdlet to easily send a web request.
How can you easily send an HTTP or HTTPS request to a web service by using Windows PowerShell 3.0?
Use the Invoke-WebRequest cmdlet. For example, the following code returns links from the Hey, Scripting Guy! Blog.
(Invoke-WebRequest scriptingguys.com/blog).links