Powershell: Find stale Users

Having old, unused user accounts sitting in your domain can send red-flags flying by auditors. It's easy to create an account and think it will be used for the foreseeable future, but often times this is not the case. This script queries your domain for user accounts that have not logged in in the past … Continue reading Powershell: Find stale Users

Advertisements

Powershell: Query domain for expiring certificates

Certificate expirations can be a pain to manage and are often overlooked. Some people have spreadsheets, set calendar reminders or just wait until a customer complains. I used to have a Unix script that would search an entire subnet for servers with expiring certs, but it was not very robust, searching subnets can return some … Continue reading Powershell: Query domain for expiring certificates