Skip to content

Instantly share code, notes, and snippets.

View jfiliceatcsumb's full-sized avatar

Jason Filice jfiliceatcsumb

  • CSUMB
  • 22:54 (UTC -07:00)
View GitHub Profile
@jfiliceatcsumb
jfiliceatcsumb / Send Jamf Pro Command via API.sh
Created September 16, 2022 18:21 — forked from talkingmoose/Send Jamf Pro Command via API.sh
Sample script for sending a remote management command to multple Macs via the Jamf Pro API.
#!/bin/bash
# server connection information
URL="https://talkingmoose.jamfcloud.com"
userName="api-editor"
password="P@55w0rd"
command="EnableRemoteDesktop" # or "DisableRemoteDesktop"
# XML data to upload
THExml="<computer_command>
@jfiliceatcsumb
jfiliceatcsumb / format_hd.sh
Created August 10, 2020 21:20 — forked from calum-github/format_hd.sh
Disk formatter
#!/bin/bash
########################################################################
# Author: Calum Hunter #
# Date: 21/12/2016 #
# Version: 0.7 #
# Purpose: Fusion Drive Detection and general HD formatting before #
# imaging tasks. #
# #
########################################################################