Get extract of files modified after particular date from SharePoint library or folder within library (PowerShell script)
Function getFilesWithin($list) { foreach($item in $list.Items) { if ($folderURL -ne “”) { if ($item.Url.StartsWith($folderURL, “CurrentCultureIgnoreCase”)) { $targetFile = $item.file; if ($targetFile.TimeLastModified -ge (Get-Date $lastDate)){ $item.Name + “;” + $item.Url + “;” + “File;” + $($targetFile.TimeLastModified).ToString(‘dd/MM/yyyy’) | Out-File $logWrite -Append } else { write-host -f green “Not changed