Never again will you be reaching for the swear box after writing some decent Powershell and closing the window before saving.
Just add the following to each new session;
PS > Start-Transcript (will be written to your profile – i.e C:\Users\Documents\Powershell_transcript.******.txt)