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.



“Enter your commands or scripts”


Categories: PowerShell ScriptsTags:


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


I want to hear what you have to say

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

You are commenting using your 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: