Ok, I don’t have all the sites & computer groups to reproduce the whole query handy, but looking specifically at the fixlets filtering… if I understand correctly, you want to create a set of fixlets, where the fixlets come from two sites and we need to specify different filters based on the site.
One approach is to create two separate fixlet sets and then use the union of (set; set)
construct to merge the two sets into one.
Selection for one set:
set of fixlets whose (
(category of it = "Security Update" OR category of it = "Update")
AND Name of it as string as lowercase does not contain "jre <"
AND applicable computer count of it > 0
AND name of it as lowercase does not contain "superseded"
AND globally visible flag of it = true
) of bes sites whose(
name of it is contained by "Updates for Windows Applications|Updates for Windows Applications Extended"
)
(in my lab, this creates a set of 37 fixlets)
The second set definition is
set of fixlets whose (
(category of it = "Security Update" OR category of it = "Security Hotfix")
AND Source Severity of it as lowercase does not contain "unspecified"
AND applicable computer count of it > 0
AND name of it as lowercase does not contain "superseded"
AND name of it as lowercase does not contain "sharepoint"
AND name of it as lowercase does not contain "sql"
AND globally visible flag of it = true
) of bes sites whose(
name of it is contained by "Enterprise Security"
)
which, in my lab, is a set of 8 fixlets.
We can use the ‘union’ operator to combine the two sets into one. The basic usage is union of (<set1> ; <set2>)
– note the semicolon between the two sets, rather than a comma.
union of (
set of fixlets whose (
(category of it = "Security Update" OR category of it = "Update")
AND Name of it as string as lowercase does not contain "jre <"
AND applicable computer count of it > 0
AND name of it as lowercase does not contain "superseded"
AND globally visible flag of it = true
) of bes sites whose(
name of it is contained by "Updates for Windows Applications|Updates for Windows Applications Extended"
)
; set of fixlets whose (
(category of it = "Security Update" OR category of it = "Security Hotfix")
AND Source Severity of it as lowercase does not contain "unspecified"
AND applicable computer count of it > 0
AND name of it as lowercase does not contain "superseded"
AND name of it as lowercase does not contain "sharepoint"
AND name of it as lowercase does not contain "sql"
AND globally visible flag of it = true
) of bes sites whose(
name of it is contained by "Enterprise Security"
)
)
This ‘union’ generates a single set, containing the fixlets that were in either of our original sets.