You can use the Resources meta-resource to purge resources of any type, provided that (1) the resource type is Ensurable, and (2) it performs prefetching. Being ensurable is necessary because that's what Resources uses to remove unmanaged resources. Prefetching is necessary because that's how Resources knows which unmanaged resources are present on the target node.
Any other solution for removing unmanaged resources is going to be specific to the resource type, and likely pretty messy. The biggest hurdle is (2): you somehow need to determine what resources are present. The next biggest is to filter out the managed resources from the list of all resources. Once you've identified the resources to purge, actually removing them is usually straightforward.
John