PowerShell command to get last modified files
PowerShell command to get last modified files:
Dir "
Example:
Dir "c:\temp" -r | ? {! $_.PSIsContainer} | sort LastWriteTime | select LastWriteTime, FullName -last 20 | sort LastWriteTime –Descending | ft -autosize
Comments
Post a Comment