$olderThan = Get-Date 'November 16, 2015'
#$olderThan = (Get-Date).AddDays(-7)

$searchPattern = 'BusinessEvents-NonPersistent-4910-20151119-H'


$axFileshare = "\\rjkprod.local\axfileshare\AXFiles\BATCHES\log"
$files = Get-Item "$axFileshare\*.log" | Where { $_.LastWriteTime -gt $olderThan }

$result = Select-String -Path $files -Pattern $searchPattern

