Make CMTrace the default log viewer using PowerShell
Now that CMTrace is a part of the Configuration Manager client which is really great!, I still miss the fact that it is not made the default .log reader. It will save me at least 3 clicks on each machine I troubleshoot.
Here is a simple PowerShell script that will associate .Log and .Lo_ with C:\Windows\CCM\CMtrace.exe.
It also have an ActiveSetup that will add the registry key and value to remove the initial question shown below to make it the default reader for log files which really isnt a real problem but still nice to remove.
It can be run as a script, program or in a Task Sequence to associate the .Log and .Lo_ with CMTrace.
It can be downloaded from here: CmtracePS
Lets save 3 clicks!Läs hela artikeln