(imported topic written by thesurg3on91)
Hi,
We have sometimes 2, 3, 4, 5, and even 6 NICs on some of our servers. I want to know if DHCP is enabled on any of the NICs.
This relevance:
dhcp enableds of adapters of network
works, but shows, “multiple results”. Doing a report for hundreds of servers is not giving me what we need, which would be a column for each NIC.
How could I construct this relevance to look at NIC 1, NIC 2, NIC 3, NIC 4? I am more than happy to write multiple relevances for each NIC, but I just do not know how to target the individual NICs.
Someone helped me with some code for DNS to target NIC 1, and then NIC 2 by using "preceding text of first “,” ", or something like it…
NIC 1
if ((exists addresses of dns servers of adapters of network as string)) then (preceding text of first “,” of (concatenation “,” of (addresses of dns servers of adapters of network as string))) else “”
NIC 2
if ((exists addresses of dns servers of adapters of network as string)) then (following text of first “,” of (concatenation “,” of (addresses of dns servers of adapters of network as string))) else “”
I’d imagine i’d have to use the