delete accounts with PowerShell
Delete Old Accounts (Computer or User) with PowerShell
Over the years I’ve found a lot of VBS and PSh scripts that handle old Windows computer or user accounts, but none of them seem to do it quite right. This script uses LastLogonTimeStamp and PWDLastSet together (but not LastLogon), and it gives the administrator the ability to list, disable, move, and/or delete the old […]
Tags: delete accounts with PowerShell
Posted in Instructional | Comments Off on Delete Old Accounts (Computer or User) with PowerShell