I left any custom properties out for the example: How can I get this information in an EOC report. in 2020.2 This SWQL query works at the Orion Server level.
SELECT
N.NodeId
,AMA.Name
,AMA.AgentVersion
,AMA.AutoUpdateEnabled
,AMA.RuntimeOSDistro
,RuntimeOSVersion, RuntimeOSLabel, OSLabel
FROM Orion.AgentManagement.Agent AMA
Inner JOIN Orion.Nodes N
ON AMA.NodeId = N.NodeID
AND AMA.OrionSite.SiteID = N.OrionSite.SiteID
I understand that when I scroll through Orion.AgentManagement.Agent using SWQL studio the information is empty at the EOC level because the EOC does not have Agents.