I want to download the files from the particular folder in the outlook(take folder name as Files).
I receive files daily and want to download the latest one. I would like to use PowerShell script that can go through emails in the Files folder and save the latest attachment by seeing the subject line(For eg if subject line contains "Daily files")into the folder "c:\Files"
I am new to this and have tried reviewing other comments, but not able to get the required code.
Any assistance would be greatly appreciated