A-A+

Windows服务器上通过PowerShell下载文件

2020年01月03日 15:14 汪洋大海 暂无评论 共209字 (阅读1,311 views次)
$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

布施恩德可便相知重

微信扫一扫打赏

支付宝扫一扫打赏

×

给我留言