Get All SharePoint Service Applications – IIS App Pools – Service Account Details

From the IIS console, it’s tedious to find the application pools of SharePoint Service Application, isn’t it?

list IIS App Pools Service Accounts

So, let’s use PowerShell to retrieve All service application’s app pools and service account details.

PowerShell to get all Service Application Names, Service App Pool and Process Account details:

Get-SPServiceApplication | Select Name, @{Name="SP AppPool Name"; Expression={$_.ApplicationPool.Name}}, `
    @{Name="IIS AppPool Name"; Expression={$_.ApplicationPool.Id}}, `
     @{Name="Service Account"; Expression={$_.ApplicationPool.ProcessAccountName}}

This script gets you all service application’s app pool related data:

get sharepoint service application app pools and service accounts

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *