Windows PowerShell: Auto Record Everything You Do To A Local Log File


For those who want to record everything they do when using Windows PowerShell, I have an easy free solution that will give you everything you need.

The command is “Start-Transcript”. Once executed, PowerShell will start recording all activity within the current session to a log file located in your “My Documents” folder.

To stop recording just enter “Stop-Transcript”.

This is an easy solution with no need for 3rd party apps. The log file is easy to read and has all the activity recorded during the session.

 

Start-Transcript

“Enter your commands or scripts”

Stop-Transcript

Categories: Computer StuffTags:

4 comments

  1. But then people then can see everything you’ve done – hackers, etc.

    Like

I want to hear what you have to say

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: