This file contains 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/python | |
"""Identify or remove files known to be involved in Adware/Malware | |
infection. | |
Most of the code applies to building a list of malware files. Thus, | |
both extension attribute and removal handling are included. | |
Cleans files as a Casper script policy; thus, it expects four total | |
arguments, the first three of which it doesn't use, followed by | |
--remove |
This file contains 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 | |
# | |
# days since last Time Machine backup, 0 if not enabled | |
# scope < smart group to catch devices that are not backing up promptly | |
# | |
# - known issue with multiple destinations - | |
# - thanks here - https://jamfnation.jamfsoftware.com/discussion.html?id=8814 | |
OS=$(sw_vers | awk '/ProductVersion/{print substr($2,1,5)}' | tr -d ".") |
This file contains 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 | |
# | |
# postinstall-profileInstaller.sh | |
# | |
# because, derp - https://jamfnation.jamfsoftware.com/discussion.html?id=13997 | |
IFS=$'\n' | |
for mobileconfig in /tmp/profiles/* | |
do | |
profiles -I -F "${mobileconfig}" |
This file contains 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 | |
# | |
# jssVPPUserCreator.sh | |
# | |
# i should be python | |
# | |
# feed me a csv | |
# user,domain,devicename,department,building | |
# ipad+01,gmail.com,iPad-01,cart1,school | |
# |