简体   繁体   English

使用 powershell 将文件夹从一台 PC 传输到另一台 PC 的最佳方法? (SSH?)

[英]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.在远程设备上运行一个 .exe 文件(运行扫描并将其结果保存为 D:\Scan Results 中的 .txt 文件。)完成后,我希望将这些结果 (D:\Scan Results) 发送到我。

I would like to be able to do this through the use of PowerShell.我希望能够通过使用 PowerShell 来做到这一点。 I have looked into SSH and port communication, but struggled with opening port 22.我研究了 SSH 和端口通信,但在打开端口 22 时遇到了困难。

Is SSH the way to go? SSH 是通往 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'.解决这个问题的更好方法是使用 Nmap 的“Ncat”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 文件从一个文件夹传输到另一个文件 - File transfer from one folder to another 使用PowerShell将电子邮件从一个文件夹移动到另一个文件夹 - Moving emails from one folder to another w/ PowerShell Powershell将文本文件从一个文件夹移动到另一个文件夹 - Powershell to move text files from one folder to another 在Powershell中将X文件从一个文件夹移动到另一个文件夹 - Move X files from one folder to another in Powershell 如何使用PowerShell仅将新文件从一个文件夹复制到另一个文件夹 - How To copy only new files from one folder to another with PowerShell 将多个项目从一个 outlook 文件夹移动到另一个文件夹时出现问题 - Powershell - Issue with moving multiple items from one outlook folder to another - Powershell 使用 PowerShell 删除文件夹的最佳方法 - Best way to delete a folder using PowerShell powershell 更好的方法来测试两个目录是否存在或一个仅在域和 output 到 csv 的所有 pc 上 - powershell better way to test if both directories exists or one only on all pc's from domain and output to csv 使用 PowerShell 从文件夹中获取文件名的最快\最好的方法是什么? - What is the fastest\best way to get file names from a folder using PowerShell? Powershell脚本从一个OU检索PC成员资格 - Powershell script to retrieve PC Membership from one OU
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM