I am trying to delete a set of folders weekly. But I also want those folders deleted should list in "Deleted Items" section in ProjectWise. But unfortunately it is not working for me. Please help.
Script: Remove-PWFolder -FolderID '486359' -RemoveDocuments -RemoveFolders -ProceedWithDelete -Verbose
Although this enhancement will be officially announced next release, it should be working in today's release. That is, if the 'Enable Deleted Items Folder' datasource options is set, folders deleted by the Remove-PWFolder cmdlet should be sent to the trash. Please verify.
Mark Weisman | Bentley Systems
mostly working.
If I create a folder and then put a file in it. If I delete the tree with:
Remove-PWFolder -FolderPath 'Test Folder' -RemoveDocuments -RemoveFolders -ProceedWithDelete
The folder is placed in the trash, but the file isn't. Also tested with a bunch of sub-folders with a file in the last folder, and the folder and all sub-folders appeared in Trash but not the file.