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

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

list IIS App Pools Service Accounts

So, let’s use PowerShell to retrieve All service application’s app pool 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 is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply