Posted on 03-23-2023 01:16 PM
==========================================================================================
ID 4
Name ............. Last Reboot
Enabled true
Type ............. String
Mac Script #!/bin/bash
echo "<result>$(date -jf "%s" "$(sysctl kern.boottime | awk -F'[= |,]' '{print $6}')" +"%Y-%m-%d %T")</result>"
Windows Script ...
==========================================================================================
Posted on 03-24-2023 07:35 AM
I am inclined to agree with @sarafoster90, this is probably an artifact of JAMF. Most JAMF Servers are likely windows based (mine is), and its probably something from that.
==========================================================================================
ID 141
Name ............. JAMF Application Support Volume
Enabled true
Type ............. String
Mac Script #!/bin/zsh
## Get logged in user
UserID=$(stat -f%Su /dev/console)
Inspect_Directory=$(sudo du -sh /Library/Application\ Support/JAMF | cut -d '/' -f 1 | awk '{$1=$1};1')
echo "<result>$Inspect_Directory</result>"
Windows Script ...
==========================================================================================
Posted on 03-24-2023 08:21 AM
Funny thing is (since originally posting this) I found one of the Custom Attributes for determining battery health was a windows script for battery health. Suspect it as left there by a contractor who was at one time setting up our environment. really strange.
Being new to Jamf I suspected this might be more of an internal artifact of Summary. Relieved that there is not a string of comments saying that something was off :)
Posted on 03-24-2023 06:11 PM
Jamf supported Windows for a period of time. You could recon and do some things on a windows client. But since Macs are their bread and butter it didn’t last long or get much traction. So probably legacy from that.