Delete orphaned SharePoint Service Application Pool


Get-SPServiceApplicationPool | select id, name

 

image

Remove-SPServiceApplicationPool -Identity "UserProfileServiceApplicationPool"