Currently browsing tag

password

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.

Create-RandomPassword

Create a (really) random password Function Create-RandomPassword { $Length = “10” #number of characters $NonAlpha = “2” #Number of non alphanumerical characters …

Scroll to Top