So via a combination of reading here, brute force try X, - that didn't work so try Y, etc; I have hit upon a few basic queries to help me search through the database.
I know I need to take this much further and so turn to the assembled brains here. As my company has helpfully blocked access to github I can't go and do any searches etc over there, so please if you need to point me at anything then do so here or other places on t'webs.
So, for arguments sake, as a very basic search I can do the following:
SELECT TOP 1000 * FROM [dbo].[Interfaces]
WHERE InterfaceName like '%unrouted%'
I also know that I can do an
AND FullName like '%abc_xyz%'
to pull back unrouted interfaces where the name is like abc_xyz. So far, so good.
Now, let's suppose I want to take all those unrouted vlan interfaces (which is what my serach gives me) and change them from being monitored to not monitored. Is there a simple way forward for this? Or at the very least, is there a search I can do to discover which interfaces are unrouted and being monitored?
Next step would be to consider doing delete and tidy-up operations (if necessary).
As an aside, are these types of opertions the sort of thing that should be run in SWQL Studio or as a script from say, Powershell? Which would then be my next hurdle.