Power Help Files

This blog holds my PowerShell help files for those who have attended my classes. As I add new PowerShell help files into my classes, the online help will be located here.

If you like what you see, contact me and I'll let you know where I am instructing my next class.

Thursday, October 18, 2012

Download-HTML

Last Update: October 18, 2012
PowerShell Version: 2.0 and 3.0

Libraries:

  • PSv3.psm1

.SYNOPSIS
Saves HTML source code from the web to a file on your hard drive.

.DESCRIPTION
Allows you to specify a website and download the source code.

.PARAMETER Source
The website that you want to download the source code from.

.PARAMETER SaveFile
The destination path and file name that you want to save the source code to.

.PARAMETER Quiet
Suppresses on screen messages.

.EXAMPLE
Download-HTML -Source "www.MCTExpert.com" -SaveFile "C:\Data\Code.html"

Downloads the code from the web page www.MCTExpert.com and saves it to the
local hard drive in the Data folder as Code.html.

No comments:

Post a Comment