hebedich 通过本文主要向大家介绍了powershell程序文件,powershell 删除文件,powershell打开文件,powershell创建文件,powershell 下载文件等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
支持所有PS版本
在PS中可以轻松的从网上下载文件。这里有一段代码下载PS说明书(这是一个珍贵并丰富的Powershell文档)自动到你的电脑。
$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
</div>

