Export-PWDocuments not exporting documents


Export-PWDocuments is not exporting documents from my Projects but "Export to Excel" does.


I noticed a considerable difference in the number of files reported by PW and that exported using Export-PWDocuments, I did a comparison using "Export to Excel" which gave me almost the same number of files on checking the log I found some files where not exported due to long paths.

However Export-PWDocumants does not have a log option so I cannot check for export errors.

Is there any way I can get Export-PWDocuments to create an export log similiar to "Export to Excel"?