Hello Everyone,
I'm very new to all this so please bare with me! And sorry in advance if this makes little sense.
I want to be able to get the list of resources for a given node into powershell, so that I can check if some interfaces are checked for polling. So I want to be able to poll a node for it's list of resources and then use that list to check if it contains what I'm looking for.
Sounds simple but I've been struggling to find out how to do it.
For clarification, this is the list of resources generated when you select 'List Resources' in the manage nodes section.
And by checking interfaces I mean, specifically these three

I had the idea that the easiest way to do this would be to simply use Get-SwisData to run a query and grab it that way, but I've spent a good deal of time looking through the Orion DB and can't find where this data is stored.
This led me to the "GetScheduledListResourcesStatus" function in the Orion.Nodes table. This made some thing's click
From what I have gathered, everytime you click "List Resources", Solarwinds polls the device/node and lists all the resources. To do this, I think it uses the "ScheduleListResources", "GetScheduledListResourcesStatus" and "ImportListResourcesResult" commands. As well as the configuration set up when the device was first discovered and set up to see what it should and should not be polling for.
What I'd like, is to view is the list of resources available before importing them, then I can go through the list and pick out a sublist of all nodes where those options aren't selected or available, for whatever reason.
Then I'll have a lot less nodes to clean up. Rather then having to manually click through hundreds of nodes.
Is this even possible? It feels like it should be but I'm struggling to figure out how to go about it or even if I'm on the right path.