The following powershell command uses the .Net library to download a HTML page from the web and displays it in the console.
(New-Object Net.WebClient).DownloadString("http://www.eggins.com")
You must include the protocol "http://" in the web address. This can also be used for ftp if you prefix the site with "ftp://".
Posted
May 17 2007, 10:28 PM
by
David