I was wondering if it is possible to disable a trap rule in trap viewer via powershell.
As far as i can tell the traprules and syslogrules tables are not present in SWQL, so you wouldn't be able to impact them via the API, but if you are feeling fancy you could just hook your powershell script directly into the SQL DB and make your changes there. Never tried to do it to manipulate the rules but I've done similar to other parts of the DB when there was no way to get to it in SWQL.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.