Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it abel to display color when PsExec a process on remote device? #798

Open
ali50m opened this issue May 11, 2024 · 1 comment
Open

Is it abel to display color when PsExec a process on remote device? #798

ali50m opened this issue May 11, 2024 · 1 comment

Comments

@ali50m
Copy link

ali50m commented May 11, 2024

I have a .net console app with "Serilog.Sinks.Console" enabled, which can output colorful log to the console. However, when I use PsExec excute this console app in remote device, the re-directed output message is just plain-text without color.

Is there a config option which can display console color for PsExec?

env:
PsExec v2.43
.net 8.0
windows 10
PowerShell 7.4.2
Windows Terminal 1.20.11271.0

@SwimmeRM
Copy link

Even if I'm not from SysInternals dev team I can confirm you that so far no color support was ever added (very likely also because all or nearly all commands have no such support and to my memory I've only seen text color support in PowerShell errors (red) or while executing some commands (yellow)).
Anyway please see current options list in dedicated PsExec page.
Regards
P.S. Because of this I'm also a little unsure that SysInternals dev team might possibly want to add color support in future too, but (for you) I even hope I might just be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants