Monthly Archives: February 2017

MVP Days – New Orleans

Come join me at MVP Days New Orleans on May 12, 2017. I have submitted to speak and will hopefully be presenting. But after attending the Orlando MVP day in 2016, I decided to attend every one of these that I can work into my schedule. So regardless of out come of my sessions submission, I will be there. The biggest reason is the time that is set aside for interaction with all of the speakers at the end of the day. This unstructured session allows you to ask questions and network with everyone. That is hands down worth your time. So if you are able register and take part in a great community event.

Distribution Points not reporting Usage data

I am scratching my head about the what happened on this issue, but let me explain. We had a issue come up in our SCCM RAP. (If you are a Premier Customer, I highly recommend the RAP as a service. Get it, Use it, and Use it often.) There were about 30ish distribution points that were not reporting usage stats for our 2012 R2 Configuration Manager site. A quick check showed that the distribution points where alive and well but that the scheduled task that reports the usage statistics was gone.  If you need a good primer on how to check out a distribution point see this post from Scott’s IT Blog. To resolve this I simply exported the task from a working distribution point and imported on the systems where it was missing. To be honest though it did not get fixed everywhere. A couple of months go by and we rerun the RAP and look at the results. Now there are over 300 distribution points not reporting statistics because of a missing scheduled task. This makes me beg and plead to speed up our upgrade project for Current Branch. But until then I have to keep everything going, so a little powershell to the rescue.

First I choose to export the existing scheduled task from a working server and save it as c:\temp\Content Usage.xml

The Rap web site is great for reporting the issue but not so much for getting the details in a way that is easily usable in a script. So here is a SQL query to identify distribution points not reporting usage date.

This will give you a list of server names that you can save in a file. Now for the powershell to recreate the scheduled task and run it.

Give it a little time and rerun the SQL query to verify that the systems are reporting usage data and are being removed from the report.


Powershell Saturday – Nashville 

MVP Mick Pletcher is organizing a PowerShell Saturday event for Nashville. It is still in the planning stages but I will be there. Once the details are finalized I will share them. Hopefully if you are in the area you can join in on the fun. These events are a great way to learn and interact will MVPs and others passionate about using PowerShell. The planned date is for Saturday June 24, 2017.  I will be speaking on Powershell for SCCM.

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