Daniel L. Benway's IT Blog

Mixed instructional content for the IT community


delete accounts with PowerShell

Delete Old Accounts (Computer or User) with PowerShell

Friday, August 15th, 2014

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

Pages

  • About the Author
  • About this Blog
  • Contact Information

Categories

  • Announcements (16)
  • Instructional (18)

Recent Posts

  • ISP Latency Test Script
  • Building a Pi-Hole Ad Blocker on a Raspberry Pi running Raspbian
  • Columbus, Ohio’s Security BSides 2020 Conference
  • Visual Studio Code Quick Guide for PSh Users
  • Columbus, Ohio’s Security BSides 2019 Conference
  • Ignite and Dog Food 2018 Conference Notes
  • Dawn or Doom Conference, Purdue University, Nov 5 and 6, 2018
  • Columbus, Ohio’s Microsoft Dog Food Technical Conference, Oct 4 and 5, 2018
  • Use Azure to Build your Test Lab
  • Columbus, Ohio’s Microsoft Dog Food Technical Conference 2017
  • Lima, Ohio’s LRITA Technical Conference 2017
  • Columbus, Ohio’s Security BSides 2017 Conference
  • Business Continuity Planning
  • Digital Signatures
  • Certificates on the Internet

Daniel L. Benway's IT Blog

  • About the Author
  • Contact Information
  • About this Blog
  • Announcements
  • Instructional
  • #485 (no title)
  • About the Author
  • About this Blog
  • Blog
  • Contact Information
  • Thank you for emailing me.

Powered by WordPress. Designed by Handla Online.