1. Capture session with script:
#> script -f
2. Capture stdout, stderr with
$> bash command 2>&1 | tee output.txt
3. Capture PuTTY Session
Can also capture screen history in putty by right clicking the top of the putty window and selecting "Copy All to Clipboard" (then save using your text editor of choice)