Files
MacAdmin/System Configs/Configuration Scripts/enroll_Existing.sh
Zack T 0e5af33d2c Merging configuration files from another repo
Merging configuration files into the macOS.Desktop repository
2017-08-15 12:10:20 -07:00

22 lines
780 B
Bash

#!/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