Skip to content
Discussion options

You must be logged in to vote

This is my solution

It is a console app that creates a pseudo terminal and writes the output to both the real console and the redirected log file.

It is not PowerShell specific, with no command line arguments it uses %COMSPEC%

Eg

C:> "c:\Program Files\rhubarb-geek-nz\Console Logger\conlog.exe" pwsh >pwsh.txt

The file captures everything, including all editing keystrokes and terminal escape codes.

You can run a console text editor within the session and it will capture all your changes.

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@tommypoulsen
Comment options

Comment options

You must be logged in to vote
1 reply
@rhubarb-geek-nz
Comment options

Comment options

You must be logged in to vote
3 replies
@tommypoulsen
Comment options

@tommypoulsen
Comment options

@rhubarb-geek-nz
Comment options

Answer selected by tommypoulsen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants