Verifying subnet with multiple NICs

(imported topic written by sgreenwall91)

Trying to perform a single installation (SEP) that has differing behavior if a system is on a specific subnet (communication settings). The issue I’m running into is that using the following errors when multiple NICs are involved (laptop with wireless/GB ethernet):

Q: (preceding text of last “.” of preceding text of last “.” of (addresses whose (it as string != “0.0.0.0”) of ip interfaces whose (loopback of it = false) of network as string)= “192.168”)

A: False

E: Singular expression refers to non-unique object.

Is there an easy method to evaluated multiple results or compile the multiple results into a single string value?

(imported comment written by pmullins91)

I went through something similar when trying to find boxes connecting via VPN. I think this will do the trick for you:

exists address whose (it as string starts with "192.168.") of ip interfaces whose (loopback of it = false) of network

(imported comment written by sgreenwall91)

Solved - perfect. I was obviously over complicating it.