Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to find the top level error : URL and date:

I know through content source we can get: $contentsource.LevelHighErrorCount

but it doesn't give me url and date of that Error: Basically through GUI, you can go to Crawl Log -> URL -> Add Filter Content source and Status: "Top Level Errors"

I am trying to do the same thing using Powershell but I am not sure where is the Status, Top level errors property is:

  $crawlLogFilters = new-object Microsoft.Office.Server.Search.Administration.CrawlLogFilters 
    $id = $contentSource.Id 
      $filproperty1 = [Microsoft.Office.Server.Search.Administration.CrawlLogFilterProperty]::ContentSourceId 
    $crawlLogFilters.AddFilter($filproperty1, $id) 

So basically, I have done the filter for content source , all I need is filter on Status ?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.