Wednesday, February 26, 2014

Delete application pool using Powershell command



Powershell is the best way to remove an application pool for SharePoint. Sometimes you may need to remove unused application pool accounts.

Below are the steps:

Open SharePoint 2013 management PowerShell, Make sure you are running as administrator mode.

Run the below command which will display all the application pools.

Get-SPServiceApplicationPool

Then run the below command to get the particular Application Pool.

Get-SPServiceApplicationPool -Identity <Name of the application pool>

Now we can to delete whatever the application pool we want by using the below command

Remove-SPServiceApplicationPool 'Name of the Application Pool'

No comments: