• How To: Get a List of UserList and Groups a User is a Member Of (V2.0)

    Below is a link to a new blog post. Hope you find it useful. powerwisescripting.blog/.../
  • How to avoid empty folders while querying Get-PWFolders

    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 …
  • Export-PWProjectAccessControl not exporting ProjectName and FullPath in some instances.

    Security Protocol now set to TLS 1.2 PWPS_DAB Version is 2.1.15.0 This is a 64-bit process. All, I have run into an issue with Export-PWProjectAccessControl where the ProjectName and FullPath fields are blank in some instances. I first noticed this…
  • Export document attributes to an excel file

    I want to export a set of documents and its attributes to an excel file. I tried it using " Get-PWDocumentsBySearch " function and was not able to find the attributes value $documents=Get-PWDocumentsBySearch -FolderPath '\Software' -GetAttributes…
  • How to combine 2 ProjectWise document objects list into one in PowerShell

    How to combine 2 ProjectWise document objects list into one in PowerShell
  • How to get the Environment of a document in PowerShell

    How to get the Environment of a document in PowerShell
  • How To Report on Folders with Specific Access Control

    Hey All, I have created a new blog post to demonstrate how to report on folders with specific access control set. Hopefully you find it useful. powerwisescripting.blog/.../
  • Comparing CustomAttributes sub-proprerties from Get-PWDocumentsBySearchExtended

    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…
  • How to get all the empty folders in a ProjectWise Data source?

    How to get all the empty folders in a ProjectWise Data source?
  • How To Get a File Size Summation for a Datasource

    I have created a new blog post to return the overall file size summation for a datasource. Check it out. Hopefully it helps. powerwisescripting.blog/.../
  • 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/.../
  • Get a list of connected users

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

    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…
  • 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…
  • Update-PWWordDocumentFields

    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…
  • Update PWFolder Security

    Hi I am trying to update a specific folder's permission with a specific group. I run the following and it gives me confirmation that the security update was done. Not so when I review the folder permissions in ProjectWise. Any help would be appreciated…
  • Environment Export and Import

    Hello, I'm using 'Export-PWEnvironments' and 'Import-PWEnvironments' commands to create a brand new environment from an existing environment. I am able to export the existing environment 'Document Attributes' in the specified format. Now when I make…
  • Help creating "24hr Changes" export script for a Work Area folder

    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…
  • Select-PWSQL (and DataTable variations) - Limitations on DataTables

    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…
  • Creating New Work Area: Template Project not found

    Recently I switched to a new PC and got PWPS_DAB Version 1.30.13.0 installed. Now when I'm running my New Work Area creation script, it throws a warning like below. Security Protocol now set to TLS 1.2 PWPS_DAB Version is 1.30.13.0 This is a 64-bit…
  • Could not load type 'BTSTypes.IncomingPackage'

    Hi there, I've recently encountered PowerShell errors with commands involving PWDM. All scripts were working perfectly until the last week or two. It generally coincides with installation of the latest ProjectWise Deliverables Management Connector 10…
  • How To: Generate a Managed Workspace Report

    I have added a new post to my blog. Hopefully, you find this useful. powerwisescripting.blog/.../
  • 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.
  • Import-PWDocuments issues with drive as InputFolder and long path

    Hi, I'm running into two issues with cmlet Import-PWDocuments. 1- When $Inputfolder path is located on my c drive, I can import every file in sub-folders, but when it is located on a drive only folder structure is imported with the fil in the parent…
  • Why cache-like folders appear when I create new work area?

    Whenever I create a new work area from PowerShell why does a cache-like folder get created?