I am writing a powershell script that will be run weekly to go to a particular mailbox on our exchange server. Its job is to find the latest email and download its Attachment. I have been all over the internet searching for a good way to do this, but all I have found are ways to access local outlook files or a product to buy that does it for me. I would prefer not to buy anything or use EWS. Could someone please help me out.
Our servers are win 2008 exchange 2010. Again I want to get an attachment out of the latest email in a mailbox on our exchange server through powershell. Any help would be greatly appreciated. Thank you.