Saturday, March 19, 2016

PS: Download using Powershell

Download files using PowerShell
PS A:\> $wc = New-Object System.Net.WebClient
PS A:\> $url = "https://eternallybored.org/misc/netcat/netcat-win32-1.12.zip"
PS A:\> $output = "a:\netcat-win32-1.12.zip"
PS A:\> $wc.DownloadFile($url, $output)

No comments: