Hi,
start with this query:
SELECT vc.[Guid], vc.[Name], vc.[IP Address], tcpip.Subnet, vc.[IsManaged]
FROM [vComputer] vc
JOIN Inv_AeX_AC_TCPIP tcpip ON vc.Guid = tcpip._ResourceGuid
WHERE
vc.[IsManaged] = '1'
AND
tcpip.Subnet = '192.168.10.0'
This query gives you all computers in the subnet 192.168.10.0.
If you want to filter by ip-adress you can change the above statement to something like this:
SELECT vc.[Guid], vc.[Name], vc.[IP Address], vc.[IsManaged]
FROM [vComputer] vc
WHERE
vc.[IsManaged] = '1'
AND
vc.[IP Address] LIKE '192.168.10.%'
Regards