Microsoft Defender ATP download URL

dlondon
Valued Contributor

I know how to manually download Defender. I was wondering if there is a way to download the up to date version on the command line?

1 ACCEPTED SOLUTION

whitebeer
Contributor

We use the following script to download and install pkg with the current version

#!/bin/bash

link=$4
programName=$5
/usr/bin/curl -s -o /tmp/"$programName.pkg" -L $link
sudo jamf install -package $programName.pkg -path /tmp -target /
rm /tmp/$programName.pkg

If you go to https://macadmins.software/ and copy the link to the installers, it's always the latest version via static link :)

View solution in original post

2 REPLIES 2

whitebeer
Contributor

We use the following script to download and install pkg with the current version

#!/bin/bash

link=$4
programName=$5
/usr/bin/curl -s -o /tmp/"$programName.pkg" -L $link
sudo jamf install -package $programName.pkg -path /tmp -target /
rm /tmp/$programName.pkg

If you go to https://macadmins.software/ and copy the link to the installers, it's always the latest version via static link :)

dlondon
Valued Contributor

Thanks @whitebeer. I guess it's the plists that get put into the config profile that do all the configuration for updates etc

Much appreciated!

Will give this a try