Find computers with Disabled or delted users.
I would like to find a way to grab current user from PDQ and using a script or something look in Active directory for that user. I'm trying to find computers that the last user to login is not in AD anymore or is disabled.
Thanks
0
Comments
To retrieve the Current User for all computers, you can use my module PdqStuff (version 4.1.0 or later).
There are a few other columns you can use as well:
I don't have access to an environment with AD right now, so I'm not going to be able to help much with that part. I recommend looking into the AD module that comes with RSAT.