Skip to main content
Answer

Microsoft Defender ATP download URL

  • August 24, 2020
  • 2 replies
  • 22 views

dlondon
Forum|alt.badge.img+14

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?

Best answer by whitebeer

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 :)

2 replies

whitebeer
Forum|alt.badge.img+7
  • Contributor
  • Answer
  • August 24, 2020

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
Forum|alt.badge.img+14
  • Author
  • Honored Contributor
  • August 25, 2020

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