Add-PSSnapin "Microsoft.SharePoint.PowerShell"
#Get SSA and then create a new content source
$SSA = Get-SPEnterpriseSearchServiceApplication -Identity "SSA"
New-SPEnterpriseSearchCrawlContentSource -SearchApplication $SSA -Type File -name 'gtr' -StartAddresses 'file://wac/fileshare'
#Get content source and start crawl
$ContentSource = $SSA | Get-SPEnterpriseSearchCrawlContentSource -Identity "gtr"
$ContentSource.StartFullCrawl()
#Verify the status of all content sources
Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $SSA