Summary : Learn how to create a transcript of all commands and associated output from within Windows PowerShell.
How can I create an audit file of all commands typed during a Windows PowerShell session?
Use the Start-Transcript command:
Start… Read the full text.