Creating Crawler impact rule through Powershell RRS feed

  • Question

  • Hi All,

    I want to create a "Crawler Impact rule" for one web application, I found below script but its not working or it may be not the full script. As i am new in Powershell script writing, please help me writing the full PS script or please suggest any other script which can create a "Crawler Impact Rule".  Thank Yoyu

    New-SPEnterpriseSearchSiteHitRule -Name $DefaultWebApplicationName -Behavior 'SimultaneousRequests' -HitRate 64

    Thursday, September 4, 2014 2:05 PM

All replies

  • I don't think that -Name is a valid option for this Cmdlet. Could you try it like this instead:

    New-SPEnterpriseSearchSiteHitRule -Identity $DefaultWebApplicationName -Behavior 'SimultaneousRequests' -HitRate 64

    See also:

    Technet Article

    • Proposed as answer by HicanNL Wednesday, October 22, 2014 10:22 AM
    Thursday, October 16, 2014 1:02 PM