This is the Trace Id: fbf283391003b259d849430d4eeea73e
Skip to main content Microsoft 365 Office Azure Copilot Windows XBOX Support Windows Apps OneDrive Outlook Moving from Skype to Teams OneNote Microsoft Teams Shop XBOX Accessories XBOX games Microsoft AI Microsoft Security Azure Dynamics 365 Microsoft 365 for business Microsoft Power Platform Windows 365 Digital Sovereignty Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Software companies Visual Studio Free downloads & security Education Gift cards Licensing View Sitemap

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:

    7/15/2024

    File Name:

    README.txt

    AnalyzeSearchCmdlets.ps1

    File Size:

    932 bytes

    73.2 KB

    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.