-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamf Remote Assist EA.xml
34 lines (34 loc) · 1.12 KB
/
Jamf Remote Assist EA.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?><extensionAttribute>
<displayName>Jamf Remote Assist EA</displayName>
<description>The script when executed checks if the Jamf Remote Assist binary exists in the "jamfRemoteAssist" connect folder</description>
<dataType>string</dataType>
<scriptContentsMac>#!/bin/bash
####################################################################
#.DESCRIPTION
# Detect Jamf Remote Assist binary
#
#.NOTES
# The script when executed checks if the Jamf Remote Assist
# binary exists in the "jamfRemoteAssist" connect folder
#
#
#.FILEINFO
# Author: Lloyd
# Creation Date: 01/08/2024
# Purpose/Change: Initial script development
#
###################################################################
jamfRA="/Library/Application Support/JAMF/Remote Assist/connect/jamfRemoteAssist"
if [[ -e "$jamfRA" ]]; then
echo "<result>Installed</result>"
else
echo "<result>Not Installed</result>"
fi
</scriptContentsMac>
</extensionAttribute>