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 asked for help on, how to clean up the content inside ccmcache folder in a better way instead of using a script to deploy it as application/package/task sequence to devices. I would recommend using compliance settings(configuration item/configuration baseline) to deploy the script on a scheduled basis (monthly once or how you…
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…
SCCM Configmgr 2012 Powershell script cleanup duplicate obsolete and outdated computers Via Task Scheduler

This post is continuation to my previous post on how to clean outdated computers from configmgr Database. More info refer , http://eskonr.com/2014/03/sccm-configmgr-2012-delete-duplicate-obsolete-records-etc-using-collections/ Through this post,i will show you to create Powershell script cleanup duplicate obsolete and outdated computers Via Task schedule that deletes the computers from specific collections to maintain configmgr database healthy. In my…