Anyone aware of a script to harvest network information?

More specifically, Mac, IP, hostname.

Output to txt,csv, or database...

Any thoughts on how to achieve this would be appreciated

TIA