psexec
Execute a command-line process on a remote machine. This is an advanced command and it might potentially be dangerous. More information: https://learn.microsoft.com/sysinternals/downloads/psexec.
- Execute a command using
cmdin a remote shell:
psexec \\ cmd
- Execute a command on a remote host (pre-authenticated):
psexec \\ -u -p
- Execute a command remotely and output the result to a file:
psexec \\ cmd /c -an ^>
- Execute a program to interact with users:
psexec \\ -d -i
- Display the IP configuration of the remote host:
psexec \\ ipconfig /all
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
