How to delete files from DP (Distribution Point) machines in SCCM (System Center Configuration Manager) server?

I have created SCCM (System Center Configuration Manager) server. I want to delete files that is created in SCCM server DP(Distribution Point) pcs. Is there any script to delete files in DP pcs? Because it is not easier to delete files from DP machines. I want delete files for older years. Everyday lots of updated file store at DP machines and local drive become full for some days. I have already found SCCM Content Library Cleanup Tool. But I cannot use that tool properly. Is there any script to delete files from specific date? Or Is there any alternative solution of that problem?
Md. Shamiul IslamJr. Systems EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pankaj KumarSystems SpecialistCommented:
Your question is not clear. Which users you want to delete and from where?
Do you want to delete users from AD?
1
Md. Shamiul IslamJr. Systems EngineerAuthor Commented:
I want to delete files that is created in SCCM (System Center Configuration Manager) server DP(Distribution Point) pcs. Is there any script to delete files in DP pcs? Because it is not easier to delete files from DP machines. I want delete files for older years. Everyday lots of updated file store at DP machines and local drive become full for some days. I have already found SCCM Content Library Cleanup Tool. But I cannot use that tool properly. Is there any script to delete files from specific date? Or Is there any alternative solution of that problem?
0
Pankaj KumarSystems SpecialistCommented:
It is not safe to delete content directly from sccmcontentlib folder.
Also this folder  contains content which you have replicated to respective DP.
Follow below link to use clean up tool.
https://prajwaldesai.com/exploring-sccm-configmgr-content-library-cleanup-tool/
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Md. Shamiul IslamJr. Systems EngineerAuthor Commented:
Thank you so much.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.