Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum
Sign In
All tags
powershell
access rights
attribute
CONNECTED Projects
Deliverables Management
document
Export
Export-PWDocuments
Folders
Get-PWFolders
Import-PWDocuments
Module
New-PWLogin
powershell_dab
powershellscripting
powerwisescripting.blog
ProjectWise
projectwise admin
ProjectWise PowerShell Modules
ProjectWise Programming
PWPowerShell
PWPS
pwps_dab
SIG
training
UserList
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…
5 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/
5 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…
6 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…
6 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 …
6 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
7 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Copy List to CSV
Jutin Jussal
Is there a cmdlet to copy list to CSV?
7 months ago
ProjectWise
ProjectWise PowerShell Extensions 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…
8 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
8 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…
8 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…
9 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
9 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…
9 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…
9 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.
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
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Customize document version created on the first state
Tomasz Rychlewski
Hello, is it possible to customize by PowerShell Script, the document version, once it is added to the ProjectWise Datasource? Basically, it is possible to customize the Document versions, by using WRE. But when we are adding a new Document to ProjectWise…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Login issue with version 2.1.16.0
dkleinot
Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.16.0 This is a 64-bit process. I have downloaded the latest version and it appears to be forcing the GUI each time: New-PWLogin -DatasourceName $sDataSource -BentleyIMS I confirmed I…
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How To: Get a List of UserList and Groups a User is a Member Of (V2.0)
Brian Flaherty
Below is a link to a new blog post. Hope you find it useful. powerwisescripting.blog/.../
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to avoid empty folders while querying Get-PWFolders
Ajomon George
I was trying to get the list of folders in a folder. But I can see a large number of empty folders in the result. Is there any way to exclude empty folders while querying folder list using Get-PWFolders? $UndergroundStorageFolders= Get-PWFolders …
10 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Export-PWProjectAccessControl not exporting ProjectName and FullPath in some instances.
dkleinot
Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.15.0 This is a 64-bit process. All, I have run into an issue with Export-PWProjectAccessControl where the ProjectName and FullPath fields are blank in some instances. I first noticed this…
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
11 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
View related content throughout ProjectWise
More
Cancel
<
>