TypeNames for SharePoint Services

When writing scripts, I'm always forgetting the TypeNames for services in the farm. This comes up when you're trying to retrieve a service in PowerShell like this:

$ServiceInstance = Get-SPServiceInstance | where {$_.TypeName -eq "What was the TypeName of the service?"}

So here they all are - all TypeNames for SharePoint 2013, SharePoint 2010, and SharePoint 2007 in glorious alphabetical order:

SharePoint 2013

Get-SPServiceInstance | sort TypeName | select TypeName
TypeName
--------
Access Database Service 2010
Access Services
App Management Service
Business Data Connectivity Service
Central Administration
Claims to Windows Token Service
Distributed Cache
Document Conversions Launcher Service
Document Conversions Load Balancer Service
Excel Calculation Services
Lotus Notes Connector
Machine Translation Service
Managed Metadata Web Service
Microsoft SharePoint Foundation Incoming E-Mail
Microsoft SharePoint Foundation Sandboxed Code Service
Microsoft SharePoint Foundation Subscription Settings Service
Microsoft SharePoint Foundation Web Application
Microsoft SharePoint Foundation Workflow Timer Service
PerformancePoint Service
PowerPoint Conversion Service
Request Management
Search Host Controller Service
Search Query and Site Settings Service
Secure Store Service
SharePoint Server Search
User Profile Service
User Profile Synchronization Service
Visio Graphics Service
Word Automation Services
Work Management Service

SharePoint 2012

Get-SPServiceInstance | sort TypeName | select TypeName
TypeName
--------
Access Database Service
Application Registry Service
Business Data Connectivity Service
Central Administration
Claims to Windows Token Service
Document Conversions Launcher Service
Document Conversions Load Balancer Service
Excel Calculation Services
Lotus Notes Connector
Managed Metadata Web Service
Microsoft SharePoint Foundation Incoming E-Mail
Microsoft SharePoint Foundation Sandboxed Code Service
Microsoft SharePoint Foundation Subscription Settings Service
Microsoft SharePoint Foundation Web Application
Microsoft SharePoint Foundation Workflow Timer Service
PerformancePoint Service
Search Query and Site Settings Service
Secure Store Service
SharePoint Foundation Search
SharePoint Server Search
User Profile Service
User Profile Synchronization Service
Visio Graphics Service
Web Analytics Data Processing Service
Web Analytics Web Service
Word Automation Services

SharePoint 2007

SharePoint 2007 doesn't have the nice cmdlets like later versions so we'll need to do a bit of digging:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")

$farm = [Microsoft.SharePoint.Administration.SPFarm]::Local
$TypeNames = @()

foreach ($service in $farm.Services) {
	$TypeNames += $service.TypeName
}

$TypeNames | sort
Business Data Catalog
Central Administration
Document Conversions Launcher Service
Document Conversions Load Balancer Service
Excel Calculation Services
Forms Service
Microsoft.Office.RecordsManagement.Internal.PolicyConfigService
Office SharePoint Server Diagnostics Service
Office SharePoint Server Search
Office SharePoint Server Search Admin Web Service
Office SharePoint Usage Analytics Service
Portal Service
Session State Service
Shared Services Timer
Single Sign-on Service
SSP Job Control Service
User Profile Service
Windows SharePoint Diagnostics Service
Windows SharePoint Services Administration
Windows SharePoint Services Database
Windows SharePoint Services Incoming E-Mail
Windows SharePoint Services Outgoing E-Mail
Windows SharePoint Services Search
Windows SharePoint Services Timer
Windows SharePoint Services Web Application

Stories say it best.

Are you ready to make your workplace awesome? We're keen to hear what you have in mind.

Interested in learning more about the work we do?

Explore our culture and transformation services.

Our commitment to reconciliation

Learn how Habanero is responding to the Truth and Reconciliation Calls to Action as a settler-owned company operating on Indigenous territories across what is now called Canada.

Read about our commitment