Differences
This shows you the differences between the selected revisions of the page.
2014-04-25 | 2014-06-02 | ||
capital -Not (martin) | wrong variable syntax (martin) | ||
Line 197: | Line 197: | ||
# Select the most recent file | # Select the most recent file | ||
$latest = | $latest = | ||
- | directoryInfo.Files | | + | $directoryInfo.Files | |
Where-Object { -Not $_.IsDirectory } | | Where-Object { -Not $_.IsDirectory } | | ||
Sort-Object LastWriteTime | | Sort-Object LastWriteTime | |