Currently browsing tag

Get -AduserResultantPasswordPolicy

Check-PasswordExpiration

Because ‘Password never expires’ is a really bad option for an administrator…
For those who use their Active Directory account (the administrative one…) to connect to remote server roles through an MMC, this script can be very useful. Indeed, it allows you to be notified by email one week before the expiration of the password (by default, configurable).
Because if you do not connect directly to any server, you will never have the information about the expiration of your password, only a message stating that your account is restricted, but whitout telling you why.

Scroll to Top