This Powershell script is to generate a list of users will their password will expired in 7 days (Get_User.ps) Get_User.py this script run directly from admin comuter and creat a .csv file in D: path () contains 3 coulum Name and email and expiration date. Sent_Mail.ps1 send mails after reading them from the .csv file creates
you can use Sent_Mail.ps1 to send any king of information in the mail. you can run script day by day or weekly or monthly