Shakil
Shakil

Reputation: 1084

script like logging utility for windows

Linux systems provide a nice tool (script) that can log terminal stdout data in a file. It has the following format:

To turn on logging: script [options] [filename]

To turn off logging: exit

I'm looking for an identical utility for windows console and powershell (Or any native windows support for logging the entire session).

Note: Please don't suggest redirection.

Upvotes: 0

Views: 104

Answers (1)

Samuel Prout
Samuel Prout

Reputation: 665

I believe you're looking for Start-Transcript.

Keep in mind: It won't work in the ISE. Don't forget Stop-Transcript at the end of your script!

Upvotes: 2

Related Questions