Summary : Use Start-Transcript to create a record of Windows PowerShell commands.
How can I create an audit file of all commands that I typed during a Windows PowerShell session?
Use the Start-Transcript command:
Start-transcript
How can… Read the full text.