Hi All,
This is my first post, I'm hoping someone can help me with my SWQL query.
I simply want to show A list of devices that have a node status of 2 or 3 and the country in their custom properties is not equal to 'Cloud'
SELECT
A.DisplayName as NodeName,
IPaddress as IPAddress,
A.Status as NodeStatus,
B.Country as Country
FROM Orion.Nodes A
JOIN Orion.NodesCustomProperties B ON A
WHERE (NodeStatus = 2) OR (NodeStatus = 3) AND (Country != 'Cloud')