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…
SCCM 2012 Deployment How to change security permissions to specific folder using icacls with Application Detection rules

  Problem Description: Users (AD Security Group called: eskonr\domain Users) from specific project in the organization do not have admin privileges on their computers (don’t ask why)  .I have an application (Matrix ) which is installed using Configuration manager 2012 and users are using this application for their daily routine activities without any issues so…