Learn about Windows PowerShell
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:
But I tried to use Start-Transcript in the Windows PowerShell ISE and it did not work. I even tried this in Windows PowerShell 3.0, and still a no go. Am I doing something wrong?
No you are not doing something wrong. The Windows PowerShell ISE does not support transcription. You can implement your own function to simulate transcription. An example appears in this Hey, Scripting Guy! Blog post, Create a Transcript of Commands from the Windows PowerShell ISE.