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 220.127.116.11 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…
Oh yeah, I don't use the ISE so I always forget - if you use the ISE it has tons of help built in, and you can filter commands directly in the pane on the right (or select them by module)
Microsoft has some good tutorials and documentation at:
plus a lot of the documentation is built into powershell itself.
usually brings up good stuff about command (or topic). you can use wildcards. So when you said…
If you don't need all the project properties returned up front, you may find it quicker using Get-PWFolders and a where-object filter.
$RichProjectsStartTime = Get-Date
$a = Get-PWRichProjects -FolderPath 'Projects\500xxx'