Answered by:
Get-SPServiceInstance Returns Two GUIDs for nearly every service. Is this normal?

Question
-
I just ran "Get-SPServiceInstance" in my SharePoint 2010 management shell. I wanted to see which services were running and which were not, using powershell. My results show two GUIDs for nearly every service. This doesn't seem right. Should I see two results? If not, how do I know which one is correct and how to I delete the one that isn't supposed to exist. Note, I only have one instance of each service running.
A portion of my results follows:
TypeName Status Id Access Database Service Online 0fe02f30-1ae0-4658-b41b-25f13ca0172e Access Database Service Online 09af0700-5dae-4a73-9f8b-868566d2c848 Application Registry Service Online 24c88362-0893-45e9-8503-57ada33d2ca9 Application Registry Service Online 67372402-a4c5-4aac-8ec2-5624cfc1652d Business Data Connectivity Se Online 96d57331-adb6-4850-8631-83269b74f8a2 Business Data Connectivity Se... Online 44d5d72c-3a18-458a-a0ff-a92e10c88a25 Central Administration Online f4d75bb8-77b8-4201-9d5b-05fff4adab98 Central Administration Disabled a2b67d24-cfeb-4e29-bfa6-d56bfcaf215d Claims to Windows Token Service Online 40d586db-9e53-4032-9cb6-43a1ff38a320 Claims to Windows Token Service Disabled 4b48ed17-a802-4e28-8c86-de6bf57570a0 Excel Calculation Services Online 889742ed-1325-45e1-a0b6-4ff3cd5bc941 Excel Calculation Services Online 6f1779bc-72f2-49b0-884e-f147cfc947ca Managed Metadata Web Service Online 1a38f64e-21d4-4596-a2d9-8402443ff4d5 Managed Metadata Web Service Online b7ed7923-3ac5-4279-bb44-5cdaaf69469d PerformancePoint Service Online 7a57eac5-b5b3-467c-a920-6721af1ddbcd PerformancePoint Service Online e20dc933-63a0-4c03-94e4-d173ca48e365 Michael Derk
Wednesday, April 11, 2012 11:28 PM
Answers
-
Hi Michael
The reason you see multiple services is because you have 2 servers in your farm is suspect. Services can run on both or a single server in a farm.
Try Get-SPServiceInstance | select TypeName,Status, Server
You can manage the services by going into Central Admin -> System Settings and select Manage services on server. You should see a drop down on the right to select the server.
Hope that helps
Riccardo
PS. Please remember to mark your question as answered if you got good advice.
- Marked as answer by Lhan HanModerator Friday, April 20, 2012 9:24 AM
Sunday, April 15, 2012 6:23 PM
All replies
-
Hi Michael
The reason you see multiple services is because you have 2 servers in your farm is suspect. Services can run on both or a single server in a farm.
Try Get-SPServiceInstance | select TypeName,Status, Server
You can manage the services by going into Central Admin -> System Settings and select Manage services on server. You should see a drop down on the right to select the server.
Hope that helps
Riccardo
PS. Please remember to mark your question as answered if you got good advice.
- Marked as answer by Lhan HanModerator Friday, April 20, 2012 9:24 AM
Sunday, April 15, 2012 6:23 PM -
Yes, that was what I needed and you were correct.
Thank you!
Mike
Michael Derk
Tuesday, April 24, 2012 2:24 AM -
Interesting note. When I run get-spserviceinstance, I get 3 entries. However, when I run your extended command using the select, I get 4 entries.
I have 4 servers in my farm, so 4 was what I was expecting.
I don't know why one of the servers were not listed in the simpler case.
But your answer helped me find the info I needed.
Thank you so much.
Friday, December 12, 2014 2:59 PM