Scripts for deleting datasource instances
Does anyone have any scripts that remove datasource instances using LM's API?
BrianG
Posted 8 years ago·Last reply 7 years ago
4 comments
Does anyone have any scripts that remove datasource instances using LM's API?
BrianG
OP7 years agoThanks @Michael Rodrigues, I'll try that.
Michael Rodrigues
·7 years agoHey @BrianG, you're talking about device instances, right? If they share a common property or name you can make a Dynamic Group that holds them all, then deletes that group. When you delete it, you can delete the devices from the account along with it.
BrianG
OP7 years agoHey @Michael Rodrigues, we have instances that were discovered via netscan but they're sitting at the root level. Is there an efficient method of removal?
Michael Rodrigues
·8 years agoHey @BrianG, I don't have a script for you, but I wanted to see if you could expand on this. Are you clearing out old instances or something? AD filters and instance deletion options should be able to solve most instance deletion needs, so I'm curious about what's going on on your environment.