Monday, August 27, 2012

Find AD Stale Computers

Active Directory Stale Computer Report

I have created a nice PowerShell script to find your stale / outdated objects in Active Directory.  With being a SCCM Administrator it is crucial you have a healthy AD environment.  

Requirements:

Quest Active Directory CMDLET

Usage: 
.\AD_StaleComputer_Cleanup.ps1 -DC "Domain Controller" -Old "PC Not logged in for X amount days" -Path "Path of the folder you want the report saved too"
Example:
.\AD_StaleComputer_Cleanup.ps1 -DC "DCServer01" -Old 90 -Path "C:\Path\of\Folder"


AD_StaleComputer_Cleanup.ps1 v1.0.0.1 


No comments:

Post a Comment

Thank you for your comment. If you need to direct message me use one of the many available social options on this page.