Files | ||||
File Name | Rating | Downloads | ||
![]() |
Password Expiry Email Notification v2.9 Password Expiry Email Notification v2.9 This script will email an Active Directory user in the event that their password is due to expire in X number of days. EXAMPLE PasswordChangeNotification.ps1 -smtpServer mail.domain.com -expireInDays 21 -from "IT Support <support@domain.com>" -Logging -LogPath "c:\logFiles" -testing -testRecipient support@domain.com This example will use mail.domain.com as an smtp server, notify users whose password expires in less than 21 days, send mail from support@domain.com Logging is enabled, log path is c:\logfiles Testing is enabled, and test recipient is support@domain.com EXAMPLE PasswordChangeNotification.ps1 -smtpServer mail.domain.com -expireInDays 21 -from "IT Support <support@domain.com>" -reportTo myaddress@domain.com -interval 1,2,5,10,15 This example will use mail.domain.com as an smtp server, notify users whose password expires in less than 21 days, send mail from support@domain.com Report is enabled, reports sent to myaddress@domain.com Interval is used, and emails will be sent to people whose password expires in less than 21 days if the script is run, with 15, 10, 5, 2 or 1 days remaining untill password expires. Youtube Channel for hints and tips on how to configure the script. https://www.youtube.com/user/robtitlerequired Right-click on download below and choose to save link. Otherwise it will open the script instead of downloading. Click here to visit the author's website. |
![]() |
3,049 | Dec 28, 2020 Robert Pearman ![]() |
Showing rows 1 to 1 of 1 | Showing Page 1 of 1 | 1 |
OlderGeeks.com Copyright (c) 2025