Forum Discussion

Jason_B1025's avatar
Jason_B1025
Copper Contributor
Feb 02, 2022
Solved

Dynamic group for devices that don't have a group tag

We have group tags in the enrolled devices of test, pilot, and prod I'd like to create a dynamic group for devices that don't have a group tag. I've tried using Null or $null for the orderID. but I ...
  • Harm_Veenstra's avatar
    Feb 02, 2022

    You can use this to create a Dynamic group for Autopilot devices without a OrderID/GroupTag

    (device.devicePhysicalIDs -any _ -contains "[ZTDId]") and (device.devicePhysicalIds -all _ -notContains "[OrderID]:")

Resources