Download PowerShell Language Specification

by Sep 19, 2014

All PowerShell Versions

With PowerShell, it is really easy to download files from the Internet. Here is the code that downloads the PowerShell language specification–a great Word document full of PowerShell gems and internals–automatically to your machine.

$link = 'http://download.microsoft.com/download/3/2/6/326DF7A1-EE5B-491B-9130-F9AA9C23C29A/PowerShell%202%200%20Language%20Specification.docx'

$outfile = "$env:temp\languageref.docx"

Invoke-WebRequest -Uri $link -OutFile $outfile

Invoke-Item -Path $outfile 

Twitter This Tip! ReTweet this Tip!