Open natedawg20 opened 1 year ago
Working on cleaning up the download section, but having trouble auto-naming the downloaded installer. Invoke-WebRequest
has an -OutFile
flag, but it requires a full file name and won't accept a "root" folder. This is important because installer extensions range from .msi
, .exe
, and .zip
. See below for what I've found so far:
Invoke-WebRequest
Still thinking up a viable solution rather than relying on a human manually typing in the file extension
When the installers are downloaded, they're dumped into the root of the script rather than a separate "installers" folder. This makes the root folder crowded and difficult to find the script file (log, .ps1 file, etc).