Summary: Learn how to easily record commands and output from commands in Windows PowerShell.
How can I create a text file all commands and output from the commands that I use in Windows PowerShell?
Use the Start-Transcript cmdlet.
To stop the transcript, use Stop-Transcript.
Note In Windows PowerShell 5.0 on Windows 10, Start-Transcript also works inside the Windows PowerShell ISE.
In Windows PowerShell 4.0 and earlier it only works in the console.
0 comments