February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to obtain an Enterprise Search Service application reference.
Solution: Use the Get-SPEnterpriseSearchServiceApplication cmdlet to assign a variable the results using the -Identity parameter.
Providing the identity of the Enterprise Search Service application with the Get-SPEnterpriseSearchServiceApplication cmdlet retrieves a specific Enterprise Search Service application. Use this to assign the results to an object for use in other cmdlets, as shown in Listing 13.7.
Listing 13.7. Assigning a Variable to a Specific Search Service Application
$ssApp = Get-SPEnterpriseSearchServiceApplication-Identity 81aedaf7-704c-47f4-8173-5e99a7495ac3
Read now
Unlock full access