Depends on the plugin type. The admin UI provides ways how to find which courses use the given activity module and something similar should be there for blocks iirc.
General developer forum
Sample of enabling plugins in specific courses
This discussion has been locked so you can no longer reply to it.