Here is the command to list latest modified files from a folder. Get-ChildItem -Path c:\temp | Sort-Object LastAccessTime -Descending | Select-Object Read More Powershell script to get latest changed files from a folder