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
But then people then can see everything you’ve done – hackers, etc.
LikeLike
It’s more for if you need to go back to review any mistakes. It’s a local txt file so you should be ok. It’s not active in memory.
LikeLiked by 1 person
Ok.
LikeLike