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 | |
################################################################################ | |
# Description: | |
# Adds or removes a computer (by Serial Number) to/from a static group | |
# in Jamf Pro using the OAuth 2.0 API with client credentials. | |
# | |
# Prerequisites: | |
# - Jamf Pro instance must support Bearer Token API authentication. | |
# - client_id and client_secret must belong to an API role with proper privileges. | |
# - API Privileges : Update Static Computer Groups, Read Static Computer Groups |
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 | |
# | |
# Script to update (add/remove) the existing Computer Static Group from the list of serial numbers. | |
# Karthikeyan Marappan | |
# API Role Privileges: Update Static Computer Groups | |
###################### CONFIGURABLE VARIABLES ################################ | |
serialNumberList="$HOME/Desktop/sourceList.txt" # Path to plain text file with serial numbers | |
Jamf_URL="https://karthikeyan.jamfcloud.com" # Your Jamf Pro URL | |
Jamf_URL="${Jamf_URL%/}" # Remove trailing slash if present |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>com.think-cell.settings.licensekey</key> | |
<string>ABCDE-ABCDE-ABCDE</string> | |
<key>com.think-cell.settings.updates</key> | |
<dict> | |
<key>enabled</key> | |
<true/> |
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
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Think-cell Settings", | |
"description": "Configuration settings for the Think-cell application. Preference Domain is com.microsoft.office. Docs https://www.think-cell.com/en/resources/manual/deploymentguide#subsect_mdmmacos", | |
"type": "object", | |
"properties": { | |
"com.think-cell.settings.licensekey": { | |
"type": "string", | |
"description": "The license key for Think-cell" | |
}, |
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/zsh | |
### Version Beta 0.2 | |
### Created by Colorenz | |
### Extenstion Attribute to check if KFM Status | |
### KFM Values | |
### 0 = Off | |
### 512 = Desktop Backed Up | |
### 1024 = Documents Backed Up | |
### 1536 = Desktop and Documents Backed Up. |
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/zsh | |
### Version Beta 0.1 | |
### Created by Colorenz | |
### Extenstion Attribute to check if a User Desktop or Documents Folder have a Symlinks and are OneDrive KFM Folders | |
#Get Current logined User | |
CurrentUser=$(scutil <<<"show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }') | |
#Get Current User Home |
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/zsh | |
## postinstall | |
pathToScript=$0 | |
pathToPackage=$1 | |
targetLocation=$2 | |
targetVolume=$3 | |
# Optionally replace the value of this variable with the name of your organization. | |
organizationIdentifier=com.arekdreyer |