Power shell: Start-Transcript and Stop-Transcript help you log a session.