Record your PowerShell session | Start-Transcript

According to Microsoft docs, the Start-Transcript cmdlet creates a record of all or part of a PowerShell session to a text file. The transcript includes all command that the user types and all output that appears on the console.

As a Systems consultant who uses PowerShell all day everyday; I want to record all the commands that I run, either to reuse them or to capture them as proof of execution.

Start-Transcript‘ cmdlet in my opinion is one of the best cmdlets out there.

This is how you use it.

Open PowerShell. Type the name of the cmdlet and point at a path you’d like to transcribe to.

start-transcript cmdlet

Now you’re all set to transcribe. Every thing you see on your screen will be transcribed.

The below image shows 4 commands executed.

The final command “Stop-Transcript” stops the transcribing process and writes the content of the screen to the file specified in step 1.

The final transcription will like the below image.

Related Articles

SCCM task sequence UI – Set computer name and more during an SCCM task sequence deployment

It is always a unique challenge of having to build an OSD experience that includes providing a great user experience during the deployment of a new operating system.

The attached application would allow you to present a front-end to an active end-user who is executing the SCCM task sequence……

Keywords: SCCM tasksequence UI, SCCM Task Sequence User interface, SCCM task sequence Set computer name.