February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain a service instance reference and therefore need a listing of available service instances.
Solution: Use the Get-SPServiceInstance cmdlet with the Server parameter to display all the service instances on that server.
To obtain a service instance reference object, you need to find the identity of the service instance. Using the Get-SPServiceInstance with the Server parameter (see Listing 6.7) displays all available service applications, as shown in Figure 6.2.
Listing 6.7. Displaying All Available Service Instances Example
Get-SPServiceInstance -Server sp2013svr01 -All
Figure 6.2. Get-SPServiceInstance displays all service instances on the specified server.
Tip
Read now
Unlock full access