TPo 0 Posted February 25, 2022 Share Posted February 25, 2022 (edited) Hello, I have this situation. It is 6 computer groups in active directory. Their naming rules are like: computername.domain.com computername-a.domain.com computername-ba.domain.com computername-c.domain.com computername.domain.swift computer-name.domain.mswift I want to create a dynamic group for computers group with names computername-a.domain.com and computername-ba.domain.com and only for those computers, which i need to restart. So I need OR and AND condition in one template (see in picture). It is possible to create it? Edited February 25, 2022 by TPo not corect computer naming rule Link to comment Share on other sites More sharing options...
ESET Staff MartinK 384 Posted February 28, 2022 ESET Staff Share Posted February 28, 2022 It should be possible to do such a group, but I would recommend to split it into two separate ones: one matching devices with requested name. Just be aware you won't be able to use one "field" multiple times in a template definitions, so instead of "contains" filter type, you will have to use something that lets you to define naming convention in one filter - i.e. either "regex" of "one of" filter types. There are multiple alternatives of "fields" to be used, for example there is also "Device identifiers" category which offers various device identifying properties. second matching devices requiring restart. In this case, just be aware different product versions or even product types might report different functionality status, so you will have to list all of them - easiest is to check what are devices actually reporting and use it in a filter. Once such separate groups are created and it is verified they do work as expected, you can achieve "and" of those conditions by nesting dynamic groups. Link to comment Share on other sites More sharing options...
Recommended Posts