2014-05-10 72 views

回答

0

我想你在问:我如何使用PowerShell来下载文件?

$webclient = New-Object System.Net.WebClient 
    $webclient.DownloadFile("http://www.example.com/file.txt", "~\downloads\file.txt") 

其中 “〜\” 是快捷方式到C:\用户\ [yourusername] \