PowerShell根据下载link下载文件

$source = "http://www.leeholmes.com/favicon.ico"

$destination="c:\temp\favicon.ico"

$webClient = New-Object System.Net.WebClient

$webClient.DownloadFile($source, $destination)

posted @ 2012-11-20 21:07  Lilideng  阅读(253)  评论(0编辑  收藏  举报