Below is a quick script to remove any IIS memory pools for Service Applications which are no longer actively used by SharePoint. Good on older farm to streamline W3WP and avoid excess processes. Cheers! Source Codehttps://github.com/spjeff/spadmin/blob/master/SP-Clean-Service-AppPools.ps1