tomohulk / WinSCP

WinSCP PowerShell Wrapper Module
GNU General Public License v3.0
151 stars 29 forks source link

5.17 Released to Stable Channel #124

Closed jeffreymcclain closed 4 years ago

jeffreymcclain commented 4 years ago

Issue Description

This is more of a suggestion than an issue, I just wanted to let you know that version 5.17 was released recently (latest stable version is 5.17.2). No rush, but if it's not too much trouble, I was wondering if you plan to update the module from 5.15 to 5.17 in the near future.

Sincerely,

Jeffrey

ca6dsm commented 4 years ago

I'm wondering the same

tomohulk commented 4 years ago

sorry guys, I switched to a Mac about a year ago, and with PS6 things like ssh/scp are native. So this module is frankly quite pointless, and not really on my watch list so much anymore. Anyway, I updated the core components.

jeffreymcclain commented 4 years ago

@tomohulk Thanks! For PowerShell 6 (and PowerShell 7 which was recently released to stable), do you know if there is an easy way to pass a credential object and/or save the ssh/sftp session to a variable?

For example, I can ssh to a server using the built-in "ssh" command, but I don't see an easy way of passing a credential parameter. Furthermore, if I try to save the session ($session = ssh ... ) to reuse at other points in my script, it just fails with an error.

tomohulk commented 4 years ago

maybe win Invoke-command, but i'm not sure