Differences

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

2012-09-24 2013-05-07
5.1 is stable (martin) back tick not needed (martin)
Line 141: Line 141:
        foreach ($fileInfo in $directory.Files)         foreach ($fileInfo in $directory.Files)
        {         {
-            Write-Host ("{0} with size {1}, permissions {2} and last modification at {3}" -f `+            Write-Host ("{0} with size {1}, permissions {2} and last modification at {3}" -f
                $fileInfo.Name, $fileInfo.Length, $fileInfo.FilePermissions, $fileInfo.LastWriteTime)                 $fileInfo.Name, $fileInfo.Length, $fileInfo.FilePermissions, $fileInfo.LastWriteTime)
        }         }

Last modified: by martin