“INVOKE-WEBREQUEST DESCARGAR ARCHIVO” Código de respuesta

INVOKE-WEBREQUEST DESCARGAR ARCHIVO

$url = "http://mirror.internode.on.net/pub/test/10meg.test"
$output = "$PSScriptRoot\10meg.test"

Invoke-WebRequest -Uri $url -OutFile $output
XeN0N

PowerShell Descargar un archivo de URL

$Link = "https://www.7-zip.org/a/7z1900-x64.msi"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile("$Link","$env:USERPROFILE\Downloads\7zip1900.msi");
vlT

Respuestas similares a “INVOKE-WEBREQUEST DESCARGAR ARCHIVO”

Preguntas similares a “INVOKE-WEBREQUEST DESCARGAR ARCHIVO”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código