Microsoft Download Center Archive

Custom SharePoint 2013 Search Report Examples

  • Published:
  • Version: 1.0.0
  • Category: SDK
  • Language: English

PowerShell example scripts to extract and process search usage data from a SharePoint 2013 installation.

  • Example PowerShell scripts for extracting search usage data from a SharePoint 2013 installation. Search usage data includes:- Queries- Result Clicks- Result Sources and Site Origin- Refiner Usage- Client TypeThe downloadable example script extracts this information as common .NET objects that can then be consumed for report creation. There are a number of example reports provided in the downloadable script as well.

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

FileSize
AnalyzeSearchCmdlets.ps1
SHA1: 300b572b98feefb15b250f578c5b4c970ef6b81f
10 KB
README.txt
SHA1: 2d173ebff7b5eb64f87cb161a6e05172cbb4132e
1 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows Server 2012

  • - SharePoint 2013- PowerShell 2.0 or higher

Installation Instructions

  • Once the PowerShell script is extracted, open a PowerShell prompt in the script directory and run the following commands:Import-Module .\AnalyzeSearchCmdlets.ps1Get-SPAnalyticsReports -SearchServiceApplication "SSA Name" -WholeMonth -StartDay "2014-03-01"This will generate a number of reports in the current directory for the month of March, 2014.