如何使用 Powershell System.Net.WebClient 和自定义用户代理字符串下载文件?
我正在运行以下命令来使用 Powershell System.Net.WebClient 方法下载文件: powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://domain.name/fil...