• Update User IdentityProvider in PowerShell

    How can I update user's Identify provider column using PowerShell?
  • How to get immediate child folders in a folder

    How to get only immediate child folders in a folder in powershell.
  • Customize document version created on the first state

    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…
  • Get projectwise web url using a document id in projectwise

    Is there any way to build the web view url of projectwise using a document id in projectwise. Web URL sample: connect-projectwisewebview.bentley.com/pwlink ProjectWise Web View: connect-projectwisewebview.bentley.com/.../
  • New-PWRichProjectFromTemplate not bringing in Worklflows

    As a complete novice PowerShell user (2 days) I have managed to modify a Brian Flaherty script so I can now copy my organisations template and launch a new scheme and then update Project PIN and Project Names etc. Everything seemed great with folders…
  • switching refrences to there active versios

    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…
  • Is there a PowerShell for PSET to rendition convertor?

    This seems like a general want for the Bentley users as they use Psets and Renditions are more limited. or a pset to PW file 'Set' convertor would help too.
  • Getting PW Web link

    Is there is any powershell cmdlet or method to get the projectwise web link ?? Below is the one that I am using for getting the connect pw explorer project link. Is there is any method like the blow to get the web link ?? Would be great if someone help…
  • PowerShell Script stopped working

    Been using this script for at least a year in a regular basis and now will not work. Can't seem to figure out why. All the variables are populating so I’m stumped New-PWLogin @PWLogin -Verbose $TargetFolder = '3 - Standards and Quality (QA QC)\Quality…
  • Unable to disable the user from projectwise administrator.

    We are trying to disable a user from projectwise administrator application and we get an error "insufficient privileges". We got to know that there is a dedicated cmdlet called Set-PWUserDisabled to disable the user. Can someone please specify the steps…
  • Clear-PWWorkflowByFolderPath not functioning as expected

    I'm running ProjectWise 10.00.03.140 and PWPS_DAB 1.12.3.0. When I run the below to attempt to clear the workflow from a nested folder structure it returns "WARNING: Folder 'XXXX' not found" for every folder ID in the path. $folders=Get-PWFolders…
  • Add-PWUserToGroup : Not logged into a ProjectWise datasource.

    Hi All, When I run this cmlet i get this error. CMLET - Add-PWUserToGroup -GroupName "GroupName" -UserName "Username" ERROR - Changed ThreadOptions to ReuseThread Add-PWUserToGroup : Not logged into a ProjectWise datasource. At line:1 char:1…
  • Move-PWDocumentsToFolder not updating MetaData

    Hi, When using the Move-PWDocumentsToFolder command as below, metadata isn't being copied. The document itself is being updated, but the metadata is being kept from the previous version, and not updated with the new version of the document. Is there…
  • How To: Scripting the Project Lifecycle

    Added a new post to my blog, PowerWiseScripting.blog. Please check it out and let me know what you think. https://powerwisescripting.blog/2019/01/07/how-to-scripting-the-project-lifecycle/ Cheers, Brian
  • Connecting to ProjectWise with Powershell

    I'm currently trying to use the PWPS_DAB module, but I haven't been able to connect to ProjectWise. I've been trying the New-PWLogin cmdlet, but it's been returning false with the warning WARNING: Error logging in to 'servername.xxx.xx:ABCD' -91003…
  • Where can I find system properties of a folder e.g. creation date in PowerShell.

    Hey guys, Since there is no Get-PWFolderBySearch command how would you suggest to extract system info from a folder object. I need to create a report of all projects created since a specific date and export it out to an excel spreadsheet. [Mind you…
  • Is there a Powershell cmdlet that mimics "Update Server Copy"?

    I am working on a script to generate some benchmark results for typical tasks that users run from the PW Explorer Client and one of the tasks I want to benchmark is the "Update Server Copy". I can't seem to find a cmdlet that does this particular workflow…
  • PS Report from Audit Trail

    Would like to get a report of all docs created by a specific user in a datasource from the Audit trail data. The user no longer exists in PW I would like a report that shows Doc name; User ID; Date and PW link to the doc All help will be apreciat…
  • Attempting to us Export-PWAccessControlToExcel and I get an error

    I am attempting to use Export-PWAccessControlToExcel in a PowerShell script and I get the following error: Export-PWAccessControlToExcel : Unable to find an entry point named 'aaApi_GetAAApiDir2' in DLL 'dmsgen.dll'. At line:14 char:1 + Export-PWAccessControlToExcel…
  • Questions about New-PWLogin...

    Questions about New-PWLogin... Did this replace Open-PWConnection? Unclear, guessing yes since the function cannot be found and is not recognized. Trying to use New-PWLogin, I get denied a connection. If I turn on "UseGui" and check SSO on the login…