Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Invoke-WebRequest

Invoke-WebRequest - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Invoke-WebRequest

Short description
Gets content from a web page on the Internet.

Syntax
Invoke-WebRequest [-Uri] <Uri> [-Body <Object>] [-Certificate <X509Certificate>] [-CertificateThumbprint <String>] [-Co
ntentType <String>] [-Credential <PSCredential>] [-DisableKeepAlive] [-Headers <IDictionary>] [-InFile <String>] [-Maxi
mumRedirection <Int32>] [-Method <WebRequestMethod>] [-OutFile <String>] [-PassThru] [-Proxy <Uri>] [-ProxyCredential <
PSCredential>] [-ProxyUseDefaultCredentials] [-SessionVariable <String>] [-TimeoutSec <Int32>] [-TransferEncoding <Stri
ng>] [-UseBasicParsing] [-UseDefaultCredentials] [-UserAgent <String>] [-WebSession <WebRequestSession>] [<CommonParame
ters>]





Description
The Invoke-WebRequest cmdlet sends HTTP and HTTPS requests to a web page or web service. It parses the response and ret
urns collections of forms, links, images, and other significant HTML elements.


This parameter is introduced in Windows PowerShell 3.0.