Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Jamf Pro setup

kylejericson edited this page May 5, 2020 · 1 revision
  1. add both scripts to Jamf Pro. They are named in the order that the scripts should be deployed via Jamf.

  2. add this extension attribute to Jamf Pro so you can detect when OneDrive is setup and use it to create a Smart Group in Jamf.

Replace the "replacewithyoucompanyname" with your company name `#!/bin/bash

currentUser=ls -l /dev/console | awk '{print $3}'

if [ -d "/Users/$currentUser/OneDrive - replacewithyoucompanyname" ]; then echo "Yes" else echo "No" fi

exit 0`

  1. Create a policy that deploys the two scripts scoped to a smart group called OneDrive is setup.
  2. Create a smart group based on the extension attribute from step 2.
  3. Deploy and test test test.
Clone this wiki locally