• FUNCTION to get PW Administrator(s)

    Brian Flaherty
    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
    Ajomon George
    Get-PWUserByLastLogin returning last login date 1-1-1979 $users = Get-PWUserByLastLogin -Verbose
    • 10 months ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Issue with Update-PWFolderSecurity: Min Max error.

    dkleinot
    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…
    • 11 months ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • How to get immediate child folders in a folder

    Ajomon George
    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
    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
  • Add one User List to each Folder option

    Tomasz Rychlewski
    Tomasz Rychlewski
    Hello, Basically, there is one Account and Datasource, with hundreds of Folders in it and there is a need to include one additional User List permission setting with Read access, without need of doing it manually for each Folder. But every Folder and…
    • 11 months ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Export / search in Local Doument Organizer dashboard

    Dániel Lehoczky
    Dániel Lehoczky
    Hi, I am dealing with a long list of exported and locked documents, in which I need to make selections based on keywords in Export folder / Export comment file properties. Is there a way to search in Local Document Organizer dashboard, or alternatively…
    • Answered
    • 11 months ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • How to avoid empty folders while querying Get-PWFolders

    Ajomon George
    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
  • New-PWRichProject how to mention Environment

    Ajomon George
    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
    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
    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
    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
  • Export-PWProjectAccessControl not outputting permissions correctly.

    dkleinot
    dkleinot
    Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.10.0 This is a 64-bit process. All, I ran into an issue with the Export-PWProjectAccessControl cmdlet where it is reporting different permissions then ProjectWise Explorer is: VERBOSE…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • ProjectWise backup to a local file store keeping folder structure

    Gita Monshizadeh
    Gita Monshizadeh
    We need to make a backup of our project from ProjectWise to a local filestorage, keeping the folder structure. Using Export commands we don't get the folders. All files become stored in the same directory. Any suggestions?
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Issue regarding creating new PWSession using C#

    Roshan Kerketta
    Roshan Kerketta
    I tried using to generate a login session. I declared the new PWSession as below but I get the following error I looked up communities and I get the following information [https://communities.bentley.com/products/programming/projectwise_programming/f…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • switching refrences to there active versios

    Niels Wehr
    Niels Wehr
    Hello, is there a way to switch the references of an ProjectWise document to there active versions in the PWPS_DAB? I tryed to build an work arround but there is only an Add-PWDocumentReference which allows me to add aditionally references but i cant…
    • Answered
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Anyone know what the problem is with calling recursive common table expressions from the PowerShell Select-PWSQL Cmdlet?

    Adrian Abshere
    Adrian Abshere
    simple common table expressions seem to work: e.g. ;with cte as ( Select proj.o_projectno ,proj.o_parentno ,proj.o_projectname From dms_proj proj where proj.o_parentno > 0 and o_instanceID <> 0 ) select * from cte However, adding the…
    • Answered
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Civil File Manager using Powershell

    Gene Heatwole
    Gene Heatwole
    Can you run Civil File Manager thru Powershell for ProjectWise folders? It works great for paths which are on the local computer, but not ProjectWise. ( $FolderName) (I can manually use CivilFileManager, but want to automate and simplify the process…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Update-PWWordDocumentFields

    Paul Duffy
    Paul Duffy
    Just wanted to ask the team, the cmdlet for Update-PWWordDocumentFields, as far as I understand, was set up as a workaround for a specific issue with Title block updates. How easy would it be to adapt this for Excel. And also, is there a way within PowerShell…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • How to Find Where an Environment has been used

    Robert Golding
    Robert Golding
    How can I easily find where an Environment has been selected / used? I am trying to clean up our Datasource and possibly remove some older Environments. I believe there are some projects which can be archived and Environments changed to our updated…
    • Answered
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Get-PWWebconnection

    Ananthakumar Mani
    Ananthakumar Mani
    Hey guys, When I run the below code to get the PW Web connection name it is replicate 2 nameslike below, UNIQUEID - PROJECT NAME UNIQUEID - PROJECT NAME Anybody noticed this ? Why it is showing 2 times ? $EncodedToken = ConvertTo-EncodedToken…
    • Answered
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Help creating "24hr Changes" export script for a Work Area folder

    roll_n_a_bentley
    roll_n_a_bentley
    I'm trying to create a script that will search for any changes to files/folders made to a " Work Area " folder within a 24 hour period and export out a copy to a local folder for those changed items. This script will be executed once a day via Task Scheduler…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Get-PWPerformanceReportData leaving folders in datasources

    Kirk Peterson
    Kirk Peterson
    I have a script running on multiple caching servers to maintain a PowerBI page to assess PW performance, but the script now seems to be leaving hundreds of these sorts of folders in my datasources: Is there a way to ensure it doesn't do this? Kirk…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Select-PWSQL (and DataTable variations) - Limitations on DataTables

    Paul Duffy
    Paul Duffy
    I have used these commands on several scripts but have started running into issues on custom environment tables we have. The select statement is simply "SELECT * FROM env_1192", but this is returning "No columns in table" in PowerShell. I have double…
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • Check for Orphaned Files

    Ajomon George
    Ajomon George
    Is it possible to check for orphan files that exist on the in backend storage location, but not in the ProjectWise database/Front end?
    • over 1 year ago
    • ProjectWise
    • ProjectWise PowerShell Extensions Forum
  • View related content throughout ProjectWise
  • More
  • Cancel
<>