How to get/set continuous crawl interval using Powershell in SharePoint 2013

This blog discusses the method of get/set continuous crawl interval using Powershell in SharePoint 2013.

In this blog, you will see how to get/set the continuous crawl interval using the Powershell in SharePoint 2013.
 
To get the continuous crawl interval: 
  1. ############# Get the Continuous Crawl Interval in SharePoint 2013 #############  
  2. $ssa = Get-SPEnterpriseSearchServiceApplication  
  3. $ssa.GetProperty("ContinuousCrawlInterval")  
 
To set the continuous crawl interval: 
  1. ############# Set the Continuous Crawl Interval in SharePoint 2013 #############  
  2. $ssa = Get-SPEnterpriseSearchServiceApplication  
  3. $ssa.GetProperty("ContinuousCrawlInterval",20)