This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
# List all Applications in /Applications | |
applicationsList="$(ls -d /Applications/*.app)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
# | |
# DEFINE VARIABLES & READ IN PARAMETERS | |
# | |
################################################################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
#### Start Portfolio | |
sudo launchctl load /Library/LaunchDaemons/com.edb.launchd.portfoliodb.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
#### Stop Portfolio | |
sudo launchctl unload /Library/LaunchDaemons/com.extensis.dam-server.web.admin.launchd.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
#### Stop Portfolio | |
sudo launchctl unload /Library/LaunchDaemons/com.extensis.dam-server.web.admin.launchd.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
License: https://macmule.com/license/ | |
""" | |
import logging | |
import os | |
import re | |
import smtplib | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
License: https://macmule.com/license/ | |
""" | |
import logging | |
import os | |
import re | |
import smtplib | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
# Checks to see if their is a hardware port called AirPort or Wi-Fi | |
checkWireless=$(networksetup -listallhardwareports | egrep "Hardware Port: (Air|Wi-)" | awk '{ print $3 }') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#################################################################################################### | |
# | |
# License: https://macmule.com/license/ | |
# | |
#################################################################################################### | |
jssSupervisedStatusReceipt=`ls -a / | grep -i .jss-* | grep -v .jssUpdates-* | grep -v .jssMaintenance-* | cut -c 6-` | |
echo "<result>$jssSupervisedStatusReceipt</result>" |