Configmgr PowerShell script to create deployments for multiple software update groups to multiple collections

Introduction: Software update groups provide you with an effective method to organize software updates in your environment. Software update group consists of multiple software updates (metadata Only) .You can manually add software updates to a software update group or automatically add software updates to a software update group by using an ADR. One of the…
SCCM Configmgr Powershell script to install software updates on remote clients

Problem: Few weeks ago ,colleague of mine was trying to perform patch management on bulk number of clients (servers) as monthly patching ,as part of it he made sure the maintenance window was in place,deployment was set rightly for software updates deployment. Maintenance window started ,patches started installing and after a while ,he logged in…
Powershell script to delete computer records from SCCM

Recently I had a requirement to create a PowerShell script to read text file/CSV for list of clients (servers mainly) and check if they appear in SCCM if so delete them ,track the information into log file for reference. There could be various reasons why do you want to delete computer record from SCCM and…
How to find who initiated restart of SCCM Configmgr Client

  Colleague of mine has received request to check why did the SCCM client (server OS) rebooted during office hours and more details about the reboot (who initiated etc.). I started looking at this request to find out whether the client was rebooted due to windows patching or any applications pushed by SCCM. During my…
SCCM Configmgr how to clean ccmcache content older than x days using compliance settings

A friend of mine (you know who you are) asked help (kind of) ,how to clean up the content inside ccmcache folder in better way instead of using script to deploy it as application/package/task sequence . I would recommended to use compliance settings(configuration item/configuration baseline) to deploy the script on schedule basis (monthly once or…
SCCM Configmgr 2012 How to clean software updates files only from client ccmcache folder

  There are many blog post online ,that discuss about Configuration manager client cache ,how it works, also many questions about content cleanup from ccmcache folder,cache size is increasing beyond the Cachesize limit etc. when you install Configuration manager client,by default it choose the cache location as %windir%\ccmcache with default size 5GB unless you explicitly…