Free Script – Remove Old Objects from AD and SCCM

It will take parameters for number of days, weeks, months, or years that you want to go back in time. It will take that and pull all devices that have not logged into AD since that time and remove them from AD and SCCM. There is also a parameter for search base, which is the OU of AD that you want to look in. It includes all of the same help items as well.

Share:

Facebook
Twitter
LinkedIn

Contact Us

Name
=
On Key

More Posts

WME Cybersecurity Briefings No. 040
Cyber Security

WME Security Briefing 04 August 2025

1. NightEagle APT Exploits Zero-Day in Microsoft Exchange to Target Chinese Defense and Tech Sectors Overview A new advanced persistent threat group, dubbed NightEagle (also called APT-Q-95), is being linked to a string of attacks. These

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=