Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
ProjectWise
Sign In
All tags
powershell
pwps_dab
attribute
Deliverables Management
document
Environments
Export
Export-PWDocuments
Get-DocumentBySearch
Get-PWDocumentsBySearch
Get-PWFolders
Import-PWDocuments
Login Error
Module
New-PWLogin
Permission
powershell_dab
powershellscripting
powerwisescripting
ProjectWise
ProjectWise PowerShell Modules
ProjectWise Programming
PWPowerShell
PWPS
SIG
training
Views
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
How do i map environment property to each document?
Tomas Žukauskas
As far as i understand, Environment applies to a single folder. However, in that single folder there might be numerous documents and all of them can inherit properties from the Environment (visible in Properties - Attributes tab). Furthermore, each individual…
Answered
22 days ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Copy and Edit a CSB?
Robert Golding
Is it possible to copy, then edit the Managed Workspaces? When creating a Project in ProjectWise, we usually copy an existing Role config, rename, edit the CSB to suit then apply to the new Project. I have seen the New-PWManagedWorkSpaceConfigBlock…
28 days ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to suppress warnings when a recursive run hits the end of the items list?
Tomas Žukauskas
I have a functioning script that checks all the given user's Userlist memberships (and those Userlists' memberships in another Userlists, if there are any). Here is how the typical output looks like: The last 2 userlists ("Test User List" and "RBR…
Answered
1 month ago
ProjectWise
ProjectWise PowerShell Extensions Forum
The problem with search while using Get-PWUsersByMatch cmdlet
Tomas Žukauskas
I noticed a strange issue when trying to find a user in PW by his/her name. For example, I know 100% that a user "_admin_98623" exists in PW Administrator. However, if i provide this username as an input to my script, I get a warning that such user…
Answered
1 month ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How check the entire User List inheritance chain (when a User List is a member of another User List and so on)?
Tomas Žukauskas
I was reading a tutorial on how to get a User List that a certain User is the member of and now I'm wondering if there is a method/cmdlet to verify whether a User List is actually a member of another User List (and thus inherits the permissions from the…
Answered
1 month 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
How do I list files and subfolders of a specific folder?
Tomas Žukauskas
I was trying to follow along various tutorials online, yet still having trouble to perform such a simple task as listing the files/subfolders within a specific directory. For example, in PW Explorer i manually navigate to "raica-pw.bentley.com:raica…
Answered
1 month ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Installing PWPS_DAB on Server (WARNING: Error: Unable to load DLL 'dmscli.dll')
Matthew Kovach
Hello All, We are seeing the following error when running a PowerShell Script on a Windows Server 2016 Standard server: The following conditions are true: ProjectWise Explorer CONNECT Edition, Version 10.00.03.140 installed. ProjectWise…
2 months 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
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
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
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
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
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
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
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…
11 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
View related content from anywhere
More
Cancel
>