I'd like to use computer IP address based on the interface name

I’m creating a custom fixlet that install an application on the target machine, however, some of my target machines do have multiple IP addresses so sometimes the application will get installed/linked to the wrong interface/IP address. I do have an option to specify source IP address (target machine IP) from the command line, but how can I access such information from bigfix so I can pass it through the fixlet?

Basically, I need to filter the IP address based on the interface name. Anyone have any ideas?

Thank you!

Replace Ethernet0 with the name of the adapter you are looking for.

address of adapter whose (friendly name of it contains "Ethernet0") of network

or for the exact name…

address of adapter whose (friendly name of it = "Ethernet0") of network

1 Like