Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
ProjectWise
Sign In
All tags
powershell
ProjectWise Programming
array
attribute
document
Get-PWDocumentsBySearch
list
powershell_dab
powershellscripting
ProjectWise
ProjectWise PowerShell Modules
PWPowerShell
PWPS
pwps_dab
references
SQL
Using a list of attribute values to return all
PM68
Hi All. I am hoping someone can help as I am assuming this is relativity simple but beyond my knowledge at this stage. I am attempting to write a script that will search through the datasource and return all files that match an attribute value. Ie…
2 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Update User IdentityProvider in PowerShell
Ajomon George
How can I update user's Identify provider column using PowerShell?
5 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Report Saved Search to excel, with custom attributes
Simon Biddle
I would like to write a report to excel based on a saved search. I also need to write a custom attribute 'Revision No' to excel. In the if block the custom attribute is written to the terminal but it doesn't write to Excel. $SavedSearch = 'PW…
5 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
New-PWRichProject from a template project works very slow
Bhanu Chauhan
Hello, My template work area has all the folder structure with the required workflows with permissions applied. Also, the template has user-lists with a particular prefix. When I try to create New-PWRichProject from the template project, I go through…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Updating folder description
Ananthakumar Mani
Trying to updating the folder properties which i am trying to get the value from one source folder and updating the target folder. The below code is working when there is a value in the source folder but giving a below error if there is no value. Could…
Answered
11 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Export document attributes to an excel file
Ajomon George
I want to export a set of documents and its attributes to an excel file. I tried it using " Get-PWDocumentsBySearch " function and was not able to find the attributes value $documents=Get-PWDocumentsBySearch -FolderPath '\Software' -GetAttributes…
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to combine 2 ProjectWise document objects list into one in PowerShell
Ajomon George
How to combine 2 ProjectWise document objects list into one in PowerShell
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to get the Environment of a document in PowerShell
Ajomon George
How to get the Environment of a document in PowerShell
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to get all the empty folders in a ProjectWise Data source?
Ajomon George
How to get all the empty folders in a ProjectWise Data source?
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
switching refrences to there active versios
Niels Wehr
Hello, is there a way to switch the references of an ProjectWise document to there active versions in the PWPS_DAB? I tryed to build an work arround but there is only an Add-PWDocumentReference which allows me to add aditionally references but i cant…
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get-PWWebconnection
Ananthakumar Mani
Hey guys, When I run the below code to get the PW Web connection name it is replicate 2 nameslike below, UNIQUEID - PROJECT NAME UNIQUEID - PROJECT NAME Anybody noticed this ? Why it is showing 2 times ? $EncodedToken = ConvertTo-EncodedToken…
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Set-PWDocumentState failing
Ananthakumar Mani
I am trying to change the state of a file with using the below code, but i am getting an error message like below. If someone could correct me where i am wrong would be very much appreciated Error Message : VERBOSE: Found 1 documents WARNING: Failed…
over 2 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Using "Select-PWSQL" cmdlet, which table can I find the document "FullPath"?
Edward Ashbolt
As per title I want to return the full path of all documents on the server. I found that the "dms_doc" table has everything I need for a specific task except the full path for each document. Any ideas which table I can look at that will contain the fully…
Answered
over 2 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
'Get-PWDocumentsBySearch' bug: Returning all versions of documents when the '-GetVersionsToo' flag is not active?
Edward Ashbolt
I have a saved search which when combined with ' Get-PWDocumentsBySearch ' produces a list of all versions? Looking in ProjectWise explorer the saved search gives me a list of 81 documents / 356 with 'Show versions' on; whilst the cmdlet using the same…
Answered
over 3 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Advanced PowerShell Functions: Begin to Process to End
Adrian Crowfoot
All - I found a good article explaining when to use Begin, Process and End for functions: Advanced PowerShell Functions: Begin to Process to End Hopefully you find it useful.
over 3 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How To: Add Dynamic Parameters to Your PowerShell Functions
Brian Flaherty
I have added another post to my blog. Please take a look. https://powerwisescripting.blog/2019/01/23/how-to-add-dynamic-parameters-to-your-powershell-functions/ Cheers, Brian
over 4 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get-PWAttributeValueListFixedList - is there a setter?
Glenn Ryan
There is a getter (Get-PWAttributeValueListFixedList) to get the fixed list values of an attribute. Is there a setter (Set-PWAttributeValueListFixedList)? Or is there some other way to update the fixed value list that I seem to be missing? Thanks.
Answered
over 4 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Delete the file if file has more than 10 version, and if the file is more than 6 months old
Udhayakumar Anandharaju
Find the files which has more than 10 version, and the 11th and above version are more than 6 months old, need to be deleted from ProjectWise.
over 5 years ago
ProjectWise
ProjectWise PowerShell Extensions Forum
View related content from anywhere
More
Cancel