Re: Registering an Event Handler
                Again, this is a PowerShell, not a WinSCP question.
I'm not a PowerShell expert, but what you pass to the
        I'm not a PowerShell expert, but what you pass to the
add_* method is a script block. The script block can contain anything, function call, method call, or even a complete implementation.