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, lets 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

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.