Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Record Commands and Output from PowerShell

$
0
0

Summary: Learn how to easily record commands and output from commands in Windows PowerShell.  

Hey, Scripting Guy! Question How can I create a text file all commands and output from the commands that I use in Windows PowerShell?

Hey, Scripting Guy! Answer 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.


Viewing all articles
Browse latest Browse all 3333

Trending Articles