Hi, thanks for sharing your script - it gives me a good starting point on how to use EWS. However, there are some issues I noticed and had to correct when trying to use it out of the box:
1. the name of script and the zip/folder do not match. So it is not possible to load it directly via Import-Module from your PSModulePath
2. The Search-OSCEXOEmailMessage Cmdlet does not return S/MIME signed mail messages from a folder.
3. You have redundant functions like Search-OSCEXOEmailMessage within different modules like Send-OSCEXOEmailMessage/Move-OSCEXOEmailMessage/Export-OSCEXOEmailMessage. How do you intend to keep them at the same revision? Wouldn't it be easier to either have a base module with base functionality or to have just one module for all you functions of the same topic? Cheers, Ronald