Differences
This shows you the differences between the selected revisions of the page.
2013-05-21 | 2013-05-21 | ||
wrong Write-Host argument syntax (martin) | streamlining Get-Date call (martin) | ||
Line 245: | Line 245: | ||
$session.Open($sessionOptions) | $session.Open($sessionOptions) | ||
- | $stamp = $(Get-Date -f yyyyMMdd) | + | $stamp = Get-Date -f "yyyyMMdd" |
$fileName = "export_$stamp.txt" | $fileName = "export_$stamp.txt" | ||
$remotePath = "/home/user/sysbatch/$fileName" | $remotePath = "/home/user/sysbatch/$fileName" |