Batch scripts to capture volatile and log information from a target system