Read agent attributes

Discussion created by Marketplace_CA_8911 on Oct 3, 2017
Latest reply on Oct 3, 2017 by Marketplace_CA_8911
Hello All,
I am looking for a Automic script function to read the agent attributes For example: IP Address or Status.

Even a SQL query works for me.

Thanks in advance, Zafar