Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
ProjectWise
Sign In
All tags
powershell
ProjectWise
Deliverables Management
document
Environments
Export-PWDocuments
Get-PWFolders
Import-PWDocuments
Learning
Module
powershell_dab
powershellscripting
powerwisescripting.blog
ProjectWise Administrators
ProjectWise PowerShell Modules
ProjectWise Programming
PWPowerShell
PWPS
pwps_dab
SIG
special interest group
training
update-pwfoldersecurity
UserList
Virtual
webinar
workshop
Create userlist from template
Michel-Ange Doubogan
Hi, Is there a way to create a userlist from another one? Let's say i have a userlist name prov_serv, i want to create an other who is identical to prov_serv but with a different name in powershell. Is it possible?
4 days ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get-PWConnectionClientToken failing
Adrian Abshere
some time yesterday morning, and continuing on into today, calls to Get-PWConnectionClientToken are now returning and empty string and emits three warnings: WARNING: Can't read token WARNING: Value cannot be null. Parameter name: s This is occurring…
5 days ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Update-PWDocumentFileFromProjectWise not copying file
Patrick Hsu
I tried this line with the aim of writing the metadata contained in PWDocument into the file line.Seed_File by copying the file and uploading onto ProjectWise. However the resulting file on ProjectWise is empty; the metadata attributes are there but…
18 days ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Set-PWWorkAreaConnectionUserSync
Matthew Saxon
Hi all. I've been off PW for 6 months now coming back I find there seems to be a problem with Set-PWWorkAreaConnectionUserSync Now in running the commandlet I get the following error: PS C:\windows\system32> Set-PWWorkAreaConnectionUserSync -OIDCToken…
1 month ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Need to get list of folder paths of Folders with the word Voided in its name to a spreadsheet so I can later rename
DaveSime
Need to get list of folder paths of Folders with the word Voided in its name to a spreadsheet so I can later rename. $SPSdrawVoidedFolders = get-pwfolders -folderpath "SUBTRAN\SUB\Drawings" -PopulatePaths | where-object -Property "Name" -Like -Value…
1 month ago
ProjectWise
ProjectWise PowerShell Extensions Forum
CmdLet for getting the WSG URL
Ananthakumar Mani
Is there a cmdlet or a specific way to get the WSG URL based on the datasource that we are running ?
3 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Performance monitor - Merge SQLite databases if running from separate regions - Just Sharing
Chris Spencer
Maybe someone has a PowerShell script to do the same thing or a neater way? (Merging multiple sqlite databases to one - Machines were from different regions with no access to a central db) For this I required sqlite3.exe from the sqlite tools bundle and…
3 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Connection Client Could not be Accessed - unnown error accured
Ananthakumar Mani
Below error are getting when we trying to login PW via powershell, So, for a test i tried to put a command "New-PWLogin" simply, then the below error is getting. Usually we receive the above error while accessing via ProjectWise Explorer. But…
3 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Which cmdlet can get the Last Login Computer Name ?
Ananthakumar Mani
I am looking in to the data which computer the user used to login the last time. Would be great If some one reffer a commandlet or a PW db table where i can get this data.
3 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
I am trying to update the folder security for security type Folder rather than Workflow. I've experimented with the following: New-PWLogin -DatasourceName *Project* -BentleyIMS $FolderPaths = Get-PWFolders -FolderPath "path" -Slow Updat
Thomas Johnson
4 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
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
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
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
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
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
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
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
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
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…
11 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 …
11 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Comparing CustomAttributes sub-proprerties from Get-PWDocumentsBySearchExtended
Mike Dillner
I'm having issues trying to compare the FileUpdateDate to an DateTime environment attribute returned by Get-PWDocumentsBySearchExtended in Where-Object. It doesn't appear to be able to expand the CustomAttributes sub-property for comparison? $PWDocs…
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
View related content from anywhere
More
Cancel
>