Hi,
Jason is right, we can also add
or SMS_R_System.IPSubnets like "10.50.%" directly without brackets, the result is the same:
select SMS_R_SYSTEM.ResourceID
, SMS_R_SYSTEM.ResourceType
, SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier
, SMS_R_SYSTEM.ResourceDomainORWorkgroup
, SMS_R_SYSTEM.Client
from SMS_R_System
where SMS_R_System.SystemOUName = 'domain/ou' and SMS_R_System.IPSubnets like "10.15.%" or
SMS_R_System.IPSubnets like "10.50.%"
Regards,
Allen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.