1.打开powershell,命令行执行powershell
2.下载网络文件
在命令行窗口执行
$client = new-object System.Net.WebClient (回车)
$client.DownloadFile('http://www.com','D:\index.html')(回车)
如图:下载html文件到本地
![](https://img.haomeiwen.com/i9921948/b85301b87c9153e6.png)
![](https://img.haomeiwen.com/i9921948/264e468ecdbd0686.png)
![](https://img.haomeiwen.com/i9921948/c058aea2ad5e148d.png)
1.打开powershell,命令行执行powershell
2.下载网络文件
在命令行窗口执行
$client = new-object System.Net.WebClient (回车)
$client.DownloadFile('http://www.com','D:\index.html')(回车)
如图:下载html文件到本地
本文标题:windows--powerShell
本文链接:https://www.haomeiwen.com/subject/qawxtctx.html
网友评论