Hello Friends,
Please help me to configure Windows Active Directory account password expiry email notification to end users.
Regards
Amit Kumar
Hello Friends,
Please help me to configure Windows Active Directory account password expiry email notification to end users.
Regards
Amit Kumar
Hi,
Just want to confirm the current situations.
If there's anything you'd like to know, don't hesitate to ask.
Best Regards,
Hi,
I am facing below error while running this script, pls help me.
Exception calling "Send" with "1" argument(s): "Error in processing. The server response was: 5.7.3 STARTTLS is required to send mail [PN2PR01CA0156.INDPRD01.PROD.OUTLOOK.COM]"
At C:\Users\amit.kumar\OneDrive - JK Technosoft Ltd\Desktop\script.ps1:30 char:5
+ $smtp.Send($msg)
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SmtpException
Hi,
Welcome to share here!
To configure Windows Active Directory account password expiry email notification to end users, we need to run a script.
Below is a script that can identify Active Directory accounts that are about to expire and sends a mail notification to the end users. It optionally allows sending the applied Password Policy settings which make easier for users to choose a new password that meets the company requirements.
If you don't want to run the script manually, you may consider running it regularly by configure a schedule task.
For more details, you can refer to the following links:
Notify Active Directory Users about Password Expiry using PowerShell
How to Setup a Password Expiration Notification Email Solution
6 people are following this question.