Batch File to Remotely Install Software with Wget

Download a file from a website and then install it on your computers.

Batch File to Remotely Install Software with Wget

Create A Batch File with Wget and run it.

I had to create a Windows batch file to remotely download a file and then run it the computer.  Here is the the Code:

@echo off
mkdir c:\file
powershell -command “start-bitstransfer -source https://blah.com/remote/file.exe -destination C:\file\file.exe”
c:\file\file.exe
del c:\file\file.exe
rmdir c:\file
exit

The Above code “Batch Files Wget” will download and then run the executable file within windows.