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.IPSubnets = "172.17.0.0"
and SMS_R_System.Client = 1
and SMS_R_System.IPAddresses not in ( "172.17.0.251", "172.17.0.252")
|