Home » Scripts » Check passwords about to expire

Contoso.se

Welcome to contoso.se! My name is Anders Bengtsson and this is my blog about Azure infrastructure and system management. I am a senior engineer in the FastTrack for Azure team, part of Azure Engineering, at Microsoft.  Contoso.se has two main purposes, first as a platform to share information with the community and the second as a notebook for myself.

Everything you read here is my own personal opinion and any code is provided "AS-IS" with no warranties.

Anders Bengtsson

MVP
MVP awarded 2007,2008,2009,2010

My Books
Service Manager Unleashed
Service Manager Unleashed
Orchestrator Unleashed
Orchestrator 2012 Unleashed
OMS
Inside the Microsoft Operations Management Suite

Check passwords about to expire

I have written a small script that check if account passwords are about to expire. If they are, you get a event in the local event viewer. You can pick up that event with Ops Mgr and MOM and then generate a alert for your operators and/or administrators. You can download the script here.

Default settings are that you will get a event if the password will expire within 20 days and the script checks all user objects within this OU OU=Service Accounts,OU=Contoso EMEA,DC=emea,DC=corp,DC=contoso,DC=local 


1 Comment

Comments are closed.