JSS-Scripts
JSS-Scripts copied to clipboard
Random scripts for use in the Jamf Pro
In case machine are updating, when script running and require refreshSUL, original function will kickstart the softwareupdated service it also will stop all current update process, we need add another...
osupdatenotifier.sh line 975 set wrong key name (ForceUpdateStartEpochTime need change to ForceUpdateStartTimeInEpoch) old: ``` # Record the start time for forced update via GUI the plist setPlistValue "$BundleID" "ForceUpdateStartEpochTime" "integer"...
in some case the jamfhelper killed by terminal or Activity Monitor it will not return 239 error code and return empty intend old code ``` checkAttemptToQuit(){ Value="${1}" # Jamf Helper...
Line 977: issue: fix the data type from integer to string setPlistValue "$BundleID" "ForceUpdateStartTimeString" "integer" "$ForceUpdateStartTimeString" "$DeprecationPlist" fix: setPlistValue "$BundleID" "ForceUpdateStartTimeString" "string" "$ForceUpdateStartTimeString" "$DeprecationPlist"
code in line 970 need correct syntax current: ``` # Determine the current start time in epoch seconds for forced update via GUI ForceUpdateStartTimeInEpoch="$(/bin/date -jf "%a %b %d %T %Z...
https://github.com/bp88/JSS-Scripts/blob/d337cdffa8052c65aafabeddaa68a90315b1ffa8/OS_Upgrade.sh#L881 Doing some test with Monterey Self Service upgrade on M1 Macs and noticed upgrade failing, possibly due to mac password contains "$" in it. FV2 is enabled on all...
Hi! First of all, your script is great. I have the same issue like mani2care with the AppleSoftwareUpdate.sh script had (issue 2): When 3 deferrals on macOS 11.3 are reached,...
Looks like the OS_Upgrade script is having trouble going from macOS 11.6.1 > 12.0.1. It returns an unsupported OS. Haven't had a chance to check older versions yet.
Currently it seems it runs once a day. Is it possible to increase that? ``` Current Run Time: Thu Aug 12 10:59:05 PDT 2021 User will be reminded after: Fri...
$> sudo ./Tccutil.sh Error: attempt to write a readonly database tested number of application its says all in one word firefox ,chrome tested app in accessablity