From ffd1e3bbfe72997a7bec37f0b8015a3fda649d85 Mon Sep 17 00:00:00 2001 From: Zack T Date: Thu, 5 Nov 2015 22:07:50 -0700 Subject: [PATCH] v1.0 = First Production Version --- System Configs/Enroll_Existing.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 System Configs/Enroll_Existing.sh diff --git a/System Configs/Enroll_Existing.sh b/System Configs/Enroll_Existing.sh new file mode 100644 index 0000000..a6c2ae5 --- /dev/null +++ b/System Configs/Enroll_Existing.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +################################################################################################### +# Script Name: Enroll_Existing.sh +# By: Zack Thompson / Created: 5/20/2015 +# Version: 1.1 / Updated: 8/13/2015 / By: ZT +# +# Description: This script installs the MDM Profiles to enroll existing OS X devices. +# +################################################################################################### + +# Install the Trust Profile then the enrollment profile. +sudo /usr/bin/profiles -I -F /Library/IT_Staging/Trust_Profile_for_Organization.mobileconfig +sudo /usr/bin/profiles -I -F /Library/IT_Staging/Organization_Enrollment_Profile.mobileconfig + +# Delete all staging files. +rm /Library/IT_Staging/* + +# Call Deployment Script +./Enroll_Staff.sh + +exit 0 \ No newline at end of file