mirror of
https://github.com/MLBZ521/MacAdmin.git
synced 2026-03-20 16:00:25 +00:00
v1.0 = First Production Version
This commit is contained in:
22
System Configs/Enroll_Existing.sh
Normal file
22
System Configs/Enroll_Existing.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user