Today's little download is a simple log collecting script which I use for opening Symantec Support cases. It creates in the same folder as the batch file a log folder and dumps into it the following,
- Windows Event Logs
- Installed Programs (as scavenged from registry 'uninstall' key)
- Installed hotfixes (using wmic)
- General system information (using msinfo32)
- Altiris Logs (from SMP log folders)
The aim here is to gather painlessly the background info that first line support will request as a matter of course. So when opening a case just run this on your server (takes just a couple of minutes) and then add to the log folder any other case info you think is relevant which might include,
- Problem description, steps to reproduce, any background information you feel is relevant etc..
- Screenshots
- Client logs
- Wireshark traces
When you run you'll see a screen as follows,
And when it's done you'll see a pause displayed. Once you press a key, the script will now exit and you can take a look in the log folder which you'll find in the same location as the log collector script. The log folder name uses the hosts computer name as a prefix and the date as a post-fix, so running this on my machine ian-test creates the log folder name is IAN-TEST_LOGS_04-07-2014
I hope this helps those of you out there who just haven't found the time to write this yourselves. It really makes the process of opening support cases a *lot* less stressful.
Kind Regards,
Ian./