Hi, I am looking to export the document metadata based on search(Based on environment) with the ProjectWise relative path however I don't want to export the actual files.
New-PWLogin -UseGui -Verbose
$PWDocumentsToExport = Get-PWDocumentsBySearch...








Take a look at Save-PWDocumentsToDataTable cmdlet, i think it'll do what you want. The example includes exporting to excel.
Read more.