Password Reminder Email Script

AD Password Reminder Email


This will be how you Schedule your script to automatically run daily.



On the same server with the Script in C:\Password You will need to open Task Schedule

You will then Create New Task

Name Description will be - Password Notification Email

Select Run weather user is logged on or not

Select Run with highest privileges

01


Next you will create a Action.

Select Action Tab then New Action

Action Will Be - Start A Program

For Program / Script Enter - Powershell.exe

In The Add Arguments Field Enter - C:\Password\PasswordChangeNotification.ps1 -ExecutionPolicy Bypass


0203


Next you will create a Trigger.
This will have the Script run Daily at 8AM

Select Daily
Then Adjust the time you want the script to run. For the Example we have it run at 8 am Daily.
Then Have Recur every 1 day.


04


When you save it will prompt for the Admin password so this script can run automatically.