add new chinese translations
This commit is contained in:
25
pages.zh/windows/psexec.md
Normal file
25
pages.zh/windows/psexec.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# psexec
|
||||
|
||||
> 在远程机器上执行命令行进程。
|
||||
> 这是一个高级命令,可能会存在潜在的危险。
|
||||
> 更多信息:<https://learn.microsoft.com/sysinternals/downloads/psexec>。
|
||||
|
||||
- 在远程 shell 中使用 `cmd` 执行命令:
|
||||
|
||||
`psexec \\{{remote_host}} cmd`
|
||||
|
||||
- 在远程主机上执行命令(预先认证):
|
||||
|
||||
`psexec \\{{remote_host}} -u {{user_name}} -p {{password}}`
|
||||
|
||||
- 远程执行命令并将结果输出到文件:
|
||||
|
||||
`psexec \\{{remote_host}} cmd /c {{command}} -an ^>{{path\to\file.txt}}`
|
||||
|
||||
- 执行一个程序与用户互动:
|
||||
|
||||
`psexec \\{{remote_host}} -d -i {{program_name}}`
|
||||
|
||||
- 显示远程主机的 IP 配置:
|
||||
|
||||
`psexec \\{{remote_host}} ipconfig /all`
|
Reference in New Issue
Block a user