Trace Id is missing

Unlock your potential with Microsoft Copilot

Get things done faster and unleash your creativity with the power of AI anywhere you go.
Microsoft Copilot app being utilized to generate pictures of a singing dog, assisting to identify a flower, and helping to generate an email to congratulate a coworker on a promotion.

Custom SharePoint 2013 Search Report Examples

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

Important! Selecting a language below will dynamically change the complete page content to that language.

  • Version:

    1.0.0

    Date Published:

    8/25/2015

    File Name:

    AnalyzeSearchCmdlets.ps1

    README.txt

    File Size:

    73.2 KB

    932 bytes

    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 Type The 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.
  • Supported Operating Systems

    Windows Server 2012

    - SharePoint 2013 - PowerShell 2.0 or higher
  • Once the PowerShell script is extracted, open a PowerShell prompt in the script directory and run the following commands: Import-Module .\AnalyzeSearchCmdlets.ps1 Get-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.

Follow Microsoft