Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
ProjectWise
Sign In
All tags
powershell
attribute
CONNECTED Projects
Deliverables Management
document
Export
Export-PWDocuments
Get-PWFolders
Import-PWDocuments
powershell_dab
powershellscripting
powerwisescripting.blog
ProjectWise
projectwise admin
ProjectWise Administrators
ProjectWise PowerShell Modules
ProjectWise Programming
PWPowerShell
PWPS
pwps_dab
SIG
special interest group
UserList
Virtual
webinar
workshop
Update all Folders to Read Only with current UAC Membership
Robert Golding
Is there a simple way to change all the current Users / Lists / Groups within the UAC of a folder (or set of folders) to Read Only / File Read? We need this for our Archives. I already have a PowerShell script that will move the folders into the Archive…
Answered
4 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Datasource login error when running script with Task Scheduler
Mike Robertson
I am trying to run a Powershell script using Task Scheduler. The script uses a Logical account with an encrypted password file. If run manually, I am prompted to login to the connection client. I can dismiss the client without logging in and the script…
5 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
Get-PWUserByLastLogin
Adrian Abshere
Get-PWUserByLastLogin is returning a significant number of users (with the command Get-PWUserByLastLogin -DaysAgo 60) where the user LastLogin day is 1/1/1979 (the equivalent of a zero maybe?). Looking at the audit history of some of these turns up…
6 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
I have a list of PW GUID's I want to create a set or add to a set with all the docs in my list. Looks like the Add-PWDocumentFlatSetMember on accepts Doc name and folder path
DaveSime
I have a list of PW GUID's I want to create a set or add to a set with all the docs in my list. Looks like the Add-PWDocumentFlatSetMember on accepts Doc name and folder path. Is there a way to add to a set just using the GID in one script? If not is…
6 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
HowTo: FUNCTION Show-OpenFileDialog
Brian Flaherty
I have a new blog post containing a simple function to select a local file using the Windows Open File Dialog. Please check it out. Hopefully you find it useful. https://powerwisescripting.blog/2023/03/28/howto-function-show-openfiledialog/
6 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Export-PWDocuments script crashes Powershell
PM68
Hi All, I was given the following script from Bentley to allow me to export a fair amount of data from our datasource which will be backed up somewhere (somebody else will be looking after that). For now I just want to copy out the files. The command…
7 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to filter Get-PWFolderSecurity based on type 'User'
Ajomon George
I am trying to get all User type access control list using Get-PWFolderSecurity. But unfortunately it is taking more time to get the results and I did not find a way to filter only ' User' type results. Is there any way to filter out the results so that…
7 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Change environment
Amol Sonawane
Hi, I want to change the environment to folder which is containing the documents. There is cmdlet available however that is changing the environment to empty folders. Is there a way we can fix using the powershell? Thank you! Regards, Amol …
7 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
"Find and Replace" UserGroup in Access Control?
Robert Golding
Hi Everyone, Im working on a new Project Creation tool for our company, usually to do this we copy a template, rename etc then we export the Access Control to Excel, rename the Group to the new Project and reimport. I'm wondering if there is a way…
Answered
8 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Copy List to CSV
Jutin Jussal
Is there a cmdlet to copy list to CSV?
8 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Deliverables Management Connector Installation for Powershell Failed
Jack Everett
Hi All, ProjectWise_Explorer_CONNECT_Edition_20230125181625.log After experiencing issues with building PWConnectedProjects using PowerShell we received this error. We have attempted to modify our ProjectWise Explorer installation to include the ProjectWise…
8 months ago
ProjectWise
ProjectWise Deliverables Management Forum
Cmdlet for moving a project to an archiving area
Mike Madrid
We are looking to archive a few hundred projects and have decided to move them from where they currently live to an "Archive" folder with read-only permissions. I cannot find a cmdlet that will let us do this. The "Move-PWFolder" errors out with an "Invalid…
9 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Folder not found during Set-PWEnvironmentByFolderPath
Bhanu Chauhan
Hello, I am trying to set the environment of a folder and all its subfolders. It's able to find all folders and their ID with line 7 (of the image below), but when I try to set the environment it returns the warnings "Folder 'XXXX' not found". The environment…
Answered
9 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
ThreadOption Cannot be found
Ananthakumar Mani
Intension : We are running a script via Powershell ISE, this script used to call another script and will running continuesly 24/7. The problem is it get struck between some point. and we need to re-start it manually. For that we put the below script to…
9 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Recreate ProjectWise Folders Locally
Trevor Sedlock
Based on a previous post ( Exporting complex folder structure from ProjectWise to Windows - ProjectWise PowerShell Extensions Forum - ProjectWise - Bentley Communities ) I've successfully re-created a ProjectWise tree locally using the following:…
Answered
9 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Add-PWSavedSearch / Free files checked out for 30+days
Thomas Johnson
Using the Add-PWSavedSearch is it possible to define a search looking for files checked out on a certain date? I'm trying to create a script which Free's files that have been left Checked Out for 30 days or more. (for context, in case there is a better…
9 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
FUNCTION to get PW Administrator(s)
Brian Flaherty
I have a new blog post containing a simple function to retrieve the members of the primary administrators group. Please check it out. Hopefully you find it useful. http://powerwisescripting.blog/2022/11/25/howto-function-to-retrieve-adminstrators-in…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get-PWUserByLastLogin returning last login date 1-1-1979
Ajomon George
Get-PWUserByLastLogin returning last login date 1-1-1979 $users = Get-PWUserByLastLogin -Verbose
10 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
Powershell Login - Remove messages
Daniel Fonseca
Hello, When i run the New-PWLogin Command, at the start it gives the following three messages as output: Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.18.0 This is a 64-bit process. Since I want to create an .exe-file with this…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
ProjectWise365 Project Setup Development
Jack Everett
We are trying to add a PW365 component to our existing ProjectWise project creation PowerShell script using Add-PW365Project , and have run into issues with the OIDCToken. After looking into this post to troubleshoot, it seems like Set-PWConnectedProjectAssociation…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to get immediate child folders in a folder
Ajomon George
How to get only immediate child folders in a folder in powershell.
11 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
View related content from anywhere
More
Cancel
<
>