Ok I have a powershell script that grabs the password last set for all users along with the username and puts it in a csv file. I have vbscript that reads this data so far. I am needing to take this password last set date and compare to todays current date and if the last set date is 15 days before 6 months from that date then I want to send an email reminder to that person. Currently this is what I have
Const filepath = c:\password_list.csv
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set myFile = objFSO.OpenTextFile(FilePath)
FilefileText = myFile.ReadAll()
myFile.Close
I am assuming that I would probably need to read line by line and have a do while loop along with some if statements for what I want, but need some assistance with that.
Thanks in advance.
Christopher