Enable/Disable Search incrmental crawl in Remote server


hi all,

can me..need write script enable/disable search incrementalcrawl remote server..

i need run script remote server enable/disale crawl..

please me..

thanks in advance

i don't have access sharepoint site test or give solid working answer, here's link might help:

http://technet.microsoft.com/en-us/library/jj219802(v=office.15).aspx

here's code disable continuous crawl.  the cmdlets might support targeting remote servers, , i'm guessing there might me similar method incremental crawl:

$ssa =  get-spenterprisesearchserviceapplication $spcontentsources = $ssa | get-spenterprisesearchcrawlcontentsource | {$_.type -eq "sharepoint"}  foreach ($cs in $spcontentsources)  {    $cs.enablecontinuouscrawls = $false    $cs.update()  }


i hope post has helped!



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source