In scenarios where a file larger than 1MB is required, it is suggested to host the file onto a web server, such as Amazon S3, which may then be called upon through the Commands tab. Below, you can find command examples for both Bash (Mac and Linux) and PowerShell (Windows) to download the file to the target system:
(New-Object System.Net.WebClient).DownloadFile("", "$env:TEMP/YOUR_FILE.EXTENSION")
Note: In both examples above the file download path is the temporary directory for the respective operating system.
To see a further example of this download command function, you may evaluate our Downloading JumpCloud Agent from the Command-Line article which also uses these command structures.