PSexec 版权输出 [英] PSexec copyright output

查看:52
本文介绍了PSexec 版权输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道,如何在运行 PSExec 时禁止出现版权标题"?每次我运行./psexec ..."命令我看到这条消息:

Does anyone know, how to disable "copyright header" from appearing when running PSExec? Everutime I run "./psexec ..." command I see this message:

PsExec v2.11 - Execute processes remotely
Copyright (C) 2001-2014 Mark Russinovich
Sysinternals - www.sysinternals.com

这真的很烦人,它使我的脚本输出膨胀.

It's really annoying and it bloats up output of my script.

谢谢
马修

推荐答案

似乎没有办法禁止它发生,但作为一种解决方法,您可以重定向 STDERR,这将抑制输出,

There does not appear to be a way to disable it from occurring, but as a workaround you could redirect STDERR which will suppress the output,

psexec \\remotemachine command 2>nul

这篇关于PSexec 版权输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆