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?
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: