📜  powershell 从 url 下载文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:42.129000             🧑  作者: Mango

代码示例1
$Link = "https://www.7-zip.org/a/7z1900-x64.msi"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("$Link","$env:USERPROFILE\Downloads\7zip1900.msi");