You might be able to use the Export-Module and the Import-Module cmdlets.
I have added another post to my PowerShell and ProjectWise blog which steps through the process of importing files from a local folder and creating new documents or versions if the documents already existed..
Which version of the PWPS_DAB module are you using? This should work. Do you get the same results if you toggle of the Include Engineering Component Access Rights?
The access control settings are not changed when updating an existing folder to a Rich Project / Work Area. This mimics the functionality you would see when you update a folder to a Rich Project / Work Area within the ProjectWise Explorer Client. You…
We do not have any cmdlets to get or set an individual document security.
There is no check you could run that wouldn't run the risk of being invalid when you finally execute the Get-PWFolders command. Even if it was the command immediately before the Get-PWFolders there is a chance the user renamed or deleted at exactly that…
hmm, my template is a rich project folder already so when I use Copy-PWFolder it's a Rich Project at the destination as well.
Copy-PWFolder -FolderPath $Destination -FolderToCopy $TemplatePath -IncludeSubFolders -IncludeAccessControl
Take a look at the Remove-PWFolderSecurity cmdlet. This should do what you need.
Get-Help Remove-PWFolderSecurity -Full
I have added another post to my PowerShell and ProjectWise blog which steps through the process of exporting out ProjectWise Datasource Statistics information to an Excel spreadsheet.
Check v 22.214.171.124 which was just released. Added Owners and OwnerTypes to the Document and Folder objects. Also Creator and Updater to the Folder object.
Document Creator is defined in the Document object that gets returned, so that should be in there. Does look like I've forgotten about Owners and Folder Creators. I'll take a look.
Seems like you should be able to achieve this with the Get-PWReferenceReportForDocuments. Just filter out the ones that match your target folder path and the remaining ones are the "alien" references.
It would be great if we could create and configure saved searches for rich projects.
Not a request for any new features, but hoping the existing cmdlets could be looked into. The pwps_dab module doesn't appear to show all the help in the ISE help dialog. Its a bit tedious to keep going to the cmd line to type out Get-Help Get-PWError…