A-A+
Windows服务器上通过PowerShell下载文件
$url = "https://yryz.net/Docker for Windows Installer.exe"
$output = "C:\a.exe"
$start_time = Get-Date
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($url, $output)
来源:https://yryz.net/post/powershell-file-download.html
布施恩德可便相知重
微信扫一扫打赏
支付宝扫一扫打赏