Skip to content

Instantly share code, notes, and snippets.

@grahampugh
Created May 13, 2022 08:35
Show Gist options
  • Save grahampugh/200763ece4807a084a20c5691cb96cd0 to your computer and use it in GitHub Desktop.
Save grahampugh/200763ece4807a084a20c5691cb96cd0 to your computer and use it in GitHub Desktop.
SmartGroupTemplate for a "standard" .jamf recipe
<?xml version="1.0" encoding="UTF-8"?>
<computer_group>
<name>%GROUP_NAME%</name>
<is_smart>true</is_smart>
<criteria>
<criterion>
<name>Application Title</name>
<priority>0</priority>
<and_or>and</and_or>
<search_type>is</search_type>
<value>%JSS_INVENTORY_NAME%</value>
</criterion>
<criterion>
<name>Application Version</name>
<priority>1</priority>
<and_or>and</and_or>
<search_type>is not</search_type>
<value>%version%</value>
</criterion>
<criterion>
<name>Computer Group</name>
<priority>2</priority>
<and_or>and</and_or>
<search_type>member of</search_type>
<value>%TESTING_GROUP_NAME%</value>
</criterion>
</criteria>
</computer_group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment