PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell cmdlets should you run?

DRAG DROP
A SharePoint environment includes an enterprise search application. You are configuring the search
application crawl schedule for a specific farm.
You plan to configure the crawl schedule at set intervals of 15 minutes on a continuous basis. The
relevant information for the farm is shown in the following graphic.

You need to ensure that search results are fresh and up-to-date for all SharePoint sites in the
environment.
Which Windows PowerShell cmdlets should you run? (To answer, drag the appropriate cmdlets to the
correct variable or variables in the answer area. Each cmdlet may be used once, more than once, or not
at all. You may need to drag the split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation

Explanation:
Box 1:

Box 2:

Box 3:

Note:
* Get-SPEnterpriseSearchServiceApplication
Returns the search service application for a farm.
——————EXAMPLE——————
$ssa = Get-SPEnterpriseSearchServiceApplication –Identity MySSA
This example obtains a reference to a search service application namedMySSA.
Example2:
—————–EXAMPLE——————
$searchapp = Get-SPEnterpriseSearchServiceApplication” SearchApp1″ $contentsource = GetSPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity “Local SharePoint
Sites” $contentsource.StartFullCrawl()
This example retrieves the default content source for the search service application, SearchApp1, and
starts a full crawl on the content source.


Leave a Reply