We have been using some powershell to return project properties for quite some time already, but it seems to have stopped working.
it is working when when using PWPS_DAB Version 1.12.5.0 and 1.18.0.0
it is however NOT working on 1.20.0.0 and 1.21.5.0, and 1.21.12.0, i even tried updating to the latest 1.22.0.0
Kind regards Gavin Chapman
$tempFolderPath = 'client\project' $projAttribs = (Get-PWRichProjects -FolderPath $tempFolderPath -JustOne).ProjectProperties $projAttribs
Trying adding the -PopulateProjectProperties switch parameter. Should resolve the issue.
Answer Verified By: GChapman
Hi Bryan,
I have this function return null projects. I tried adding the switch parameter (-PopulateProjectProperties), but still it does not work for me.
The version I have installed for PWPS_DAB 1.23.6.0 and ProjectWise version is 10.00.03.280.
$project = Get-PWRichProjects -FolderPath $PWSitesParentFolder -FolderName $pwSite -JustOne -PopulateProjectProperties
Please let me know how to fix this.
The version in which it works is 1.11.1.0 with 10.00.03.167, there the folder structure has a parent 'Sites' folder and then its child is "ZZ-Test Area" this is the project I am interested in. The child is a rich project (it has the special icon on it) but the parent 'Sites' folder does not have the rich project icon. Accordinly a warning is thrown when the above command is run
'Sites' is not a rich project.
Thanks,
Shriram
Figured it out, there is a change how the FolderPath is specified. It has to be like this "parent_folder\child_folder".