Powershell 2.0 ~upd~ Download File ⇒ «REAL»
[Parameter(Mandatory=$false)] [PSCredential]$Credential
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $wc = New-Object System.Net.WebClient $wc.DownloadFile($url, $output) Use code with caution. powershell 2.0 download file
Import-Module BitsTransfer Start-BitsTransfer -Source "http://example.com" -Destination "C:\temp\file.zip" Use code with caution. Copied to clipboard powershell 2.0 download file