Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
projectwise
pwps_dab
Add-PWEnvironmentColumn
document
Environments
Export-PWDocuments
Get-PWDocumentsBySearch
Get-PWDocumentsBySearchExtended
Get-PWFolders
Login Error
metadata
Module
powershell
powershell_dab
powershellscripting
powerwisescripting.blog
ProjectWise PowerShell Modules
ProjectWise Programming
PWPowerShell
PWPS
references
Report
Select-PWSQLDataTable
SIG
Title block integration
training
Views
Building Folder FullPaths
Brian Flaherty
Does anyone have a quick way of building folder fullpath values for many folders? I have created a sql query that will do it very fast, however, using Select-PWSQL will not return the fullpath.
1 day ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Multi-threading or Using Jobs
Brian Flaherty
Hello All, I have a script which loops through multiple datasources to gather data for each, populate a datatable and export to an Excel file. Simple enough. My question is, has anyone tried to using either some type of multi-threading or jobs, to…
19 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…
1 month 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…
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…
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 ?
4 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…
4 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get-PWDocumentsByGUIDs | CheckedoutDate is Wrong
Ananthakumar Mani
When I trying to get the document which is checked out already, the below command is giving a wrong date formate. The date is constant one, its not updating the real one, Get-PWDocumentsByGUIDs -DocumentGUIDs $Doc.DocumentGUID -Verbose
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
5 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
New-PWRenditionRequest add the possibility to choose the Profile-Settings like File-Presentation and so on
Niels Wehr
Atm its not possible to create an rendition with this request whit an pre defined File-Presentation which is already part of this profile. Only the default one can be used.
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?
6 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…
6 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Remove-PWFolder not putting folder to recycle bin
Ajomon George
I am trying to delete a set of folders weekly. But I also want those folders deleted should list in "Deleted Items" section in ProjectWise. But unfortunately it is not working for me. Please help. Script: Remove-PWFolder -FolderID '486359' -RemoveDocuments…
8 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
What is the correct usage of New-PWLogin with the -Token argument?
Olivier Doucet
with: $loginSplat = @{ DatasourceName = 'server:dsn' BentleyIMS = $true UserName = 'first.last@domain.com' Token = $AccessToken NonAdminLogin = $true } New-PWLogin @loginSplat I am getting error 58064 The access token was obtained…
8 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
How to get the list of parent folders in a data source
Ajomon George
I want to get the list of parent folders in ProjectWise data source using powershell Is there a way to extract them using powershell?
Answered
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
10 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…
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
11 months ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Issue with Update-PWFolderSecurity: Min Max error.
dkleinot
Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.18.0 This is a 64-bit process. All, I am experiencing an issue with the Update-PWFolderSecurity command. I am inconsistently getting an error about Min and Max: Update-PWFolderSecurity…
over 1 year 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.
over 1 year 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 …
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
New-PWRichProject how to mention Environment
Ajomon George
New-PWRichProject how to mention the Environment
over 1 year 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
Mention attributes when creating a document
Ajomon George
Is there any option to send attributes values while creating file using " New-PWDocument "? New-PWDocument -FolderPath '\testing\' -FilePath $f.FullName -Verbose
Answered
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
Get a list of connected users
Brian Flaherty
Hey all. I have created a new blog post to offer a quick way of getting a list of all connected users within a ProjectWise datasource. Check it out. Let me know if you find it helpful. https://powerwisescripting.blog/2022/08/19/howto-get-list-of-connected…
over 1 year ago
ProjectWise
ProjectWise PowerShell Extensions Forum
>