If like me you find youself with a bunch of orphaned application pools in your sharepoint server (trying to set up User Profile Sync) and you want to delete them, you will need these steps:

Open up the Sharepoint 2010 Management Shell

You should get results similar to this:

Now issue the Remove Command

You will get prompted to confirm

Done.

Good bye App Pool

Facebook Twitter Email Linkedin Digg Delicious