DeaconFrost
[H]F Junkie
- Joined
- Sep 6, 2007
- Messages
- 11,582
I'm trying to clean up two OUs in our Active Directory that contain workstations/computer accounts. Our previous Desktop guy didn't delete the accounts as they were decommissioned or renamed, so we have plenty of stale objects. I'm trying to clean up the list so our new Desktop Support person has a better experience in SCCM. I've tried a few PowerShell scripts with no luck.
Mainly, I'm looking to see if it's possible to output a list of computer account names and the last login they registered. It would be great to know who last logged into the machines, if possible. Any suggestions?
Mainly, I'm looking to see if it's possible to output a list of computer account names and the last login they registered. It would be great to know who last logged into the machines, if possible. Any suggestions?