Differences

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

2017-05-15 2017-10-04
consistency (martin) using variable expansion in strings in powershell (martin)
Line 16: Line 16:
foreach ($fileInfo in $files) foreach ($fileInfo in $files)
{ {
-    Write-Host ("Downloading {0} ..." -f $fileInfo.FullName)+    Write-Host "Downloading $($fileInfo.FullName) ..."
    $session.GetFiles($session.EscapeFileMask($fileInfo.FullName), $localPath + "\*").Check()     $session.GetFiles($session.EscapeFileMask($fileInfo.FullName), $localPath + "\*").Check()
} }

Last modified: by martin