A script to delete ConfigMgr client logs on remote devices

At one of my customers I’m part of a project team where we needed to start with a ‘fresh’ set of SCCM logs on the clients because that would make our troubleshooting a bit easier.
So, here’s a handy little script to remove the ConfigMgr client logs from a bunch of servers, which are queried from the Active Directory 🙂

Note that this is purely quick and dirty… there is no error handling or logging whatsoever.

Leave a Reply

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