PowerShell to List Top X Most Recently Changed Files

Sometimes, you just want to know what programs or source code was most recently changed. The excludes below were set up to work with BizTalk source directories. I was only wanting to see files changed by a person, so change the -Exclude list as needed. cls $sourceCodeDirectory = "D:\Source" $numberOfFilesToRetrieve = 50 $latestFiles = (Get-ChildItem […]