Differences

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

2018-04-02 2018-04-03
no summary (135.26.232.130) old revision restored - Reflection.Assembly.LoadFrom is for PowerShell 1.0 only as documentedon https://winscp.net/eng/docs/library_powershell (martin)
Line 161: Line 161:
{ {
    # Load WinSCP .NET assembly     # Load WinSCP .NET assembly
-···[Reflection.Assembly]::LoadFrom("C:\rtca\WinSCPnet.dll") | Out-Null+····Add-Type -Path "WinSCPnet.dll"
    # Setup session options     # Setup session options

Last modified: by martin