Skip to content

Instantly share code, notes, and snippets.

@grahampugh
Created May 13, 2022 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahampugh/33ae2af3e8450b1aad2ab77f76d61337 to your computer and use it in GitHub Desktop.
Save grahampugh/33ae2af3e8450b1aad2ab77f76d61337 to your computer and use it in GitHub Desktop.
SmartGroupTemplate for a standard jss recipe
<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</value>
</criterion>
</criteria>
</computer_group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment