Differences
This shows you the differences between the selected revisions of the page.
| 2014-03-03 | 2014-06-12 | ||
| key size should be 2048 bit at least nowadays (martin) | using Add-Type cmdlet instead of Assembly.LoadFrom method (martin) | ||
| Line 72: | Line 72: | ||
| { | { | ||
| # Load WinSCP .NET assembly | # Load WinSCP .NET assembly | ||
| - | [Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null | + | Add-Type -Path "WinSCPnet.dll" |
| # Setup session options | # Setup session options | ||