Transcripts

Start/Stop

Command
Description

Start-Transcript -Path "C:\path\to\transcript.txt"

Start transcript

Stop-Transcript

Stop Transcript

Enumerate Transcripts

Default Transcripts Location: %UserProfile%\Documents\PowerShell_transcript<HostName>YYYYMMDDHHMMSS<TranscriptFileName>.txt

Get-ChildItem -Path "$env:USERPROFILE\Documents\PowerShell_transcript\" -Filter "*.txt"
dir "%USERPROFILE%\Documents\PowerShell_transcript\*.txt" /s /b

Last updated

Was this helpful?