自动下载
#下载PowerShell说明文档
1 $link = 'http://download.microsoft.com/download/3/2/6/326DF7A1-EE5B-491B-9130-F9AA9C23C29A/PowerShell%202%200%20Language%20Specification.docx' 2 3 $outfile = "$env:temp\languageref.docx" 4 5 Invoke-WebRequest -Uri $link -OutFile $outfile 6 7 Invoke-Item -Path $outfile
From:http://www.pstips.net/download-powershell-language-specification.html