Powershell Snippet:List C# Source Files Modeified After Date

http://codeimpossible.com/2010/11/15/powershell-snippet-list-c-source-files-modified-after-date/

0

Posted November 15th, 2010 in Blahg and tagged powershell by Jared

An easy way to find what source files have been modified after a certain date in a project directory with powershell.


$DateToCompare
= Get-Date "8/17/2010 8:07 PM"

Get-Childitem recurse |
   
where-object {$_.lastwritetime gt $DateToCompare} |
   
where-object {$_.extension -eq ".cs"}

你可能感兴趣的:(Date,list,C#,powershell,2010)