So I've assigned myself of the task of cleaning up a decade's worth of credentials stored in various SolarWinds modules. In doing so I realized that we had a duplicate; the same credentials identified in two credential sets (slightly different names) used pretty much equally to poll our Windows servers. Since I haven't done it before, I thought this would be a great job for a SWIS PowerShell script!
Input is the Credential Names of the two credentials sets; the old set (which will be discontinued) and the new set (which will be used by all servers going forward). Just enter those values and run the script.
Of course, after I figured this all out, I found Tony Johnson's excellent Python script that does so much more! So, I'll give credit where it's due; it would have saved me a lot of time if I'd found this first!
This script works for me. Whether I've covered off all possible scenarios in identifying the credential sets by name remains to be seen, so please use at your own risk.