SEP Logs creation
When working with support you may have to collect the logs from your SEPM, and if you have multiple SEPMs and are doing multiple collections it can get somewhat confusing. I modified the CollectLog.CMD script you will find in your Tools directory to replace the line:
SET ZIPFILE=SEPM_logs.zip
with the following lines
Rem Added the following lines to change the report formate to Servername_Date_SEPM_Logs.zip
Rem Parse the Date enviroment variable, this resolves us the / is used as a field seperator.
For /f "tokens=2,3,4 delims=-/ " %%a in ("%date%") Do Set Dateset=%%a-%%b-%%c
SET ZIPFILE="%COMPUTERNAME%_%Dateset%_SEPM_logs.zip"
The result is a log report that includes the system name and a date when the collection was run.
If you have multiple managers I put together a simple script to use PSexec to remotely run the collection on multiple managers and zip them all up into a single file. To run this you need the PSexec utility of course and administrative rights on your target servers.
Examples of both are inclosed.
Comments 3 Comments • Jump to latest comment
In case you were going to look in the Tools folder on the install disk as I did,
the utility is located in C:\Program Files\Symantec\SEPM\Tools
He put more explanation of usage in the downloads.
Nice.
what logs are creating this command?
Which log has been creating through this tool
Would you like to reply?
Login or Register to post your comment.