I need help to create a script that reads a users inbox and stores the .pdf attachments received on a network share.
I have tried to use the EWS service, but with the latest SP i get bind errors.
Is it possible to use the export-mailbox cmdlet to save to a network share instead of a pst file? If not, is there a way to extract the attachments from the pst file?