Hi everybody,
It's often useful for me to be able to refer to the IP addresses in use by Macs according to Casper, and cross-reference them with network security appliance logs. I've used various extension attributes in the past to determine active IP addresses, but none of them produced exactly the output I was looking for.
Today with the help of @rustymyers, I threw together this extension attribute script that produces the output I need:
https://gist.github.com/homebysix/74129871b1d934408be4
The output will look something like this:
Wi-Fi (en0): 172.16.12.34
Display Ethernet (en21): 10.1.56.78
Hope that's helpful to at least a few of you!
