I have VPN tunnel between two computers and through WinSCP (or any other SFTP client) I can access shared folders. Is it possible to access them outside the SFTP client (in the OS)? I have to access them with powershell script. Thank you
The OS won't natively support functions such as mapping a drive to an sftp share.
In PowerShell, you can either use third party cmdlets, such as ActiveSockets or NetCmdlets.
Otherwise, I can only think of using PowerShell with the Invoke-Item CmdLet to call Cygwin's sftp.exe or some other Windows sftp client.