Sorry, I think there might be some confusion. I understand that mac-address is baked into the device itself and that DHCP is handing out IP. What I am trying to gather is this information from the CLI instead of using the Bulk Handler Exports.
Clearly, I am using the ClearyIP module which I understand might not be supported on this forum, but the endpoint manager extension mapping is the one that is built into FreePBX v15, and I am hoping there is an easy from the CLI to gather that information
This command shows me the extension under Extension Mapping.
SHOW CREATE TABLE `asterisk`.`endpoint_extensions`;
SELECT * FROM `asterisk`.`endpoint_extensions` LIMIT 1000;
I just need how to figure out how to connect SQL using PowerShell and importing this data. Unless there is a Linux command that will get similar info.