How it works...
A transcript created by running Start-Transcript stores all of your actions and the console output of all of the commands you ran in a text file. The transcript also contains some other useful information pertaining to the context the commands were run in.
A transcript file is a little more than a history file, in that the former contains the output of the commands, apart from the commands themselves.
The Start-Transcript cmdlet does not require any argument at all; it can create a text file at the user's home, with a unique name to ensure that no other transcript is rewritten. In other words, Path is an optional parameter.
This concludes this chapter about preparing for administration using PowerShell. It's time to crack ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access