简体   繁体   中英

Best way to transfer folder from one PC to another with powershell? (SSH?)

To start off, I'll tell you everything if gathered over the last couple of weeks of research. What I am attempting to do is; Run an.exe file on a remote device, (which runs scans and saves their results as.txt files in D:\Scan Results.) Once completed, I would like these results, (D:\Scan Results) to be sent to myself.

I would like to be able to do this through the use of PowerShell. I have looked into SSH and port communication, but struggled with opening port 22.

Is SSH the way to go? I am not able to install any other remote desk software or anything, so that is out of the question.

Any replies and feedback would be greatly appreciated. Thanks in advance!

Anyone who cares or is interested; The better way around this is to use Nmap's 'Ncat'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM