A few days ago i have created and deleted Sharepoint service applications but i see the sharepoint keeps some application pools ( orphaned application pools) .
So for list the service application pool:
Get-SPServiceApplicationPool | select Id, Name
To remove one:
Remove-SPServiceApplicationPool -Identity "Orphaned SharePoint Service Application Pool Name"
To remove all where name like 'Something':
Get-SPServiceApplicationPool | where {$_.Name -match "Something" } | Remove-SPServiceApplicationPool
No comments:
Post a Comment