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?
Answer
Microsoft Defender ATP download URL
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 :)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
