Differences

This shows you the differences between the selected revisions of the page.

2014-04-25 2014-04-25
more appropriate variable name (martin) capital -Not (martin)
Line 198: Line 198:
        $latest =         $latest =
            directoryInfo.Files |             directoryInfo.Files |
-            Where-Object { -not $_.IsDirectory } |+            Where-Object { -Not $_.IsDirectory } |
            Sort-Object LastWriteTime |             Sort-Object LastWriteTime |
            Select-Object -Last 1             Select-Object -Last 1

Last modified: by martin