Al Caholic
asked on
Automated removal of expired machines in Active Directory
I'm looking for a way to automate the removal of expired machines (not logged in > 90 days) to help with asset management.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The code for getting last logon is somewhat complex, but I will attach it shortly in a subsequent post.
Deleting the object from AD via vbscript is pretty easy:
Open in new window