Hi All,
Can someone help me with Global System Extension to the Global Protect package to be deploy from Jamf Pro to Devices? the Global System extension need to be excutable with the deploy as well?
Thanks in Advance
Hi All,
Can someone help me with Global System Extension to the Global Protect package to be deploy from Jamf Pro to Devices? the Global System extension need to be excutable with the deploy as well?
Thanks in Advance
Best answer by Lion55
Hi All,
This script I created was the best script on deployment for the GlobalProtect package and System Extension, I thought I would share this script for anyone that needs this script.
#!/bin/bash
# Script to enable GlobalProtect system extension
# Define the GlobalProtect system extension identifier
EXTENSION_ID="com.paloaltonetworks.GlobalProtect.client.extension"
# Check if the system extension is already enabled
if ! systemextensionsctl list | grep -q "$EXTENSION_ID"; then
echo "GlobalProtect system extension is not enabled. Attempting to enable it..."
# Enable the system extension
systemextensionsctl install "$EXTENSION_ID"
# Check if the extension was successfully enabled
if systemextensionsctl list | grep -q "$EXTENSION_ID"; then
echo "GlobalProtect system extension has been successfully enabled."
else
echo "Failed to enable GlobalProtect system extension."
exit 1
fi
else
echo "GlobalProtect system extension is already enabled."
fi
exit 0
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.