Typescripts with PowerShell

I always thought that the typescript functionality of Unix shells is very useful. This basically allows to capture everything you do on the command line to a text file.

It is e.g. a common practive in Unix system audits to start a typescript and then run a number of diagnostics tools. This allows to analyze the system configuration at a later point of time by inspecting the output file.

Like Ian, I made Powershell my default command shell to get more hands-on. Today I discovered Powershell’s typescript equivalent.

Just use the Start-Transcript and Stop-Transcript commandlets.

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s