Skip to main content
Question

Smart Computer Groups > Static Computer Groups - Logic Question


Forum|alt.badge.img+2

So here is what I am trying to do; let's see if I can get some assistance because I don't think it is working correctly.

Background Info

Static Computer Groups:

1 - Name > This group has X computers assigned.

2 - Name > This group has X computers assigned.

3 - Name > This group has X computers assigned.

4 - Name > This group has X computers assigned.

 

Smart Computer Groups:

Created a couple groups to look at these Static groups; 

Members of 1 but not in 2,3 or 4.

Members of 2 but not in 1,3 or 4.

Members of 3 but not in 1,2 or 4.

Members of 4 but not in 1,2 or 3.

 

So the logic I was using is the following; but not sure if it is outputting correctly. 

AND/OR CRITERIA OPERATOR VALUE

(
Computer Group

member of
1
and
Computer Name
is
2

)

or

(
Computer Group

member of
1

and

Computer Group

member of
3

)

or

(
Computer Group

member of
1
and

Computer Group

member of
4

)

Not sure if that makes sense; tried to export it, but the paste is over 20k characters.

5 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3532 replies
  • July 22, 2022

@danielwnewman For the 1st of your Smart Computer Groups it'd be:

        Criteria                     Operator          Value

        Computer Group     member of      Static Group 1

and   Computer Group     not member of Static Group 2

and   Computer Group     not member of Static Group 3

and   Computer Group     not member of Static Group 4

Use the same sort of logic for the other Smart Groups


talkingmoose
Forum|alt.badge.img+36
  • Legendary Contributor
  • 1900 replies
  • July 22, 2022

You haven't really explained what you're trying to do or what's not working. What's the end result you're after and what smart group settings have you tried so far?


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • 1 reply
  • July 22, 2022

Sdagley - so that is what I originally had but doesnt output correctly.

 


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3532 replies
  • July 23, 2022
danielwnewman wrote:

Sdagley - so that is what I originally had but doesnt output correctly.

 


@danielwnewman That logic should work, so you might want to go back and re-try it if that's what you started with. Note that there are no uses of ( or ) in that Smart Group definition.


BookMac
Forum|alt.badge.img+9
  • Jamf Heroes
  • 72 replies
  • November 27, 2023

Is there a way to build a SmCG to track if computers are a member of some sort of StCG? We have a lot of StCG to assign Software or is there a better way to don't assign Computers directly to Software Policies e.g.?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings