Updating SCCM Client Logging Options

If you spend anytime supporting System Center Configuration Manager, you will develop a special love for log files. Often I find that I need to change the logging options on a small group of clients to troubleshoot. It could be because I need a larger file size or need to enable debug logging. While making the changes is fairly painless on one system, doing it on several can drive me to drink several cups of coffee. (To be fair just going to work drives me to drink….coffee.) Here is the script I use to make the changes and then put everything back to normal afterwards. The script is below but I am including the Powershell Gallery and GitHub Links as well.

Powershell Gallery https://www.powershellgallery.com/packages/Set-CMClientLogOptions/1.0.0/DisplayScript

GitHub https://github.com/mrbodean/Technet/blob/master/Powershell/Set-CMClientLogOptions/Set-CMClientLogOptions.ps1





Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.