Pau*_*han 12 remote-access windows
如何从 Windows 计算机编写其他 Windows 计算机上的远程命令脚本?
例如,在 *nix-*nix 网络上,我可以做ssh wu@otherbox foo,只要密钥设置正确,foo运行并且 ssh 客户端返回返回代码。
jft*_*uga 22
psexec - http://technet.microsoft.com/en-us/sysinternals/bb897553
PsExec 是一种轻量级的 telnet 替代品,可让您在其他系统上执行进程,完成与控制台应用程序的完全交互,而无需手动安装客户端软件。
另一种选择是编写一个 powershell 或 vbscript(使用 WMI)。
WMI 命令行工具是一个不错的选择:
wmic.exe /node:somecomputer process call create "c:\bin\uphclean\uphclean.exe -install"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
559 次 |
| 最近记录: |