-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamf Remote Assist Launcher EA.xml
34 lines (34 loc) · 1.24 KB
/
Jamf Remote Assist Launcher 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 RA Launcher</displayName>
<description>This EA will detect if Jamf Remote Assist Launcher binary exists on the user computer and returns "Installed" if the binary exists or "Not installed" if it does not exist</description>
<dataType>string</dataType>
<scriptContentsMac>#!/bin/bash
####################################################################
#.DESCRIPTION
# Detect if Jamf Remote Assist Launcher is installed
#
#.NOTES
# The script when executed checks if the Jamf Remote Assist
# Launcher binary exists in the "jamfRemoteAssistLauncher" folder
#
#
#.FILEINFO
# Author: Lloyd
# Creation Date: 01/08/2024
# Purpose/Change: Initial script development
#
###################################################################
jamfRemoteAssistLauncher="/Library/Application Support/JAMF/Remote Assist/jamfRemoteAssistLauncher"
if [[ -e "$jamfRemoteAssistLauncher" ]]; then
echo "<result>Installed</result>"
else
echo "<result>Not Installed</result>"
fi
</scriptContentsMac>
</extensionAttribute>