Browse By Tags

  • Create userlist from template

    Hi, Is there a way to create a userlist from another one? Let's say i have a userlist name prov_serv, i want to create an other who is identical to prov_serv but with a different name in powershell. Is it possible?
  • Get-PWConnectionClientToken failing

    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…
  • Problem with recursion when using Get-PWFolders in large directories

    I have a script which traverses all subfolders within a given master directory and extracts certain properties from the documents stored there. It works perfectly if a master directory contains a small amount (20-40) of subfolders at various depths…
  • Update-PWDocumentFileFromProjectWise not copying file

    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…
  • How do i map environment property to each document?

    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…
  • PowerShell Create new ProjectWise folder from template and Excell file

    New-PWLogin $outfile = Get-TablesFromXLSXWorkbook -InputFileName 'C:\Users\joseph\Desktop\OutFile.xlsx ' foreach($row in $outfile.rows) { New-PWRichProjectFromTemplate -newFolderPathName $row.FolderPath -NewProjectName $row.FolderName -Template Name…
  • ProjectWise SDK (C++) / Powershell

    Hello All, I am developping a script to do some activity on all the projects inside the ProjectWise with using the SDK (C++). The plan is to generate a DLL file and import in Powershell to get input as a parameter. Below are the code that i am using…
  • Copy and Edit a CSB?

    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…
  • How do I extract "Doc_no_status" property from a document?

    In PWE i see the "Doc_no_status" property on every single document: But in Powershel, when i try using Get-PWDocumentsBySearch (even with - GetAttributes parameter added), i do not see "Doc_no_status" property listed in the output. I also tried…
  • Error 58027 JEP file doesn't copy

    Hi, I'm trying to import some images from a local folder to projectwise but i have an error code 58027. The files location hasn't changed. I'm using the following cmdlet: Import-PWDocuments -InputFolder $SourceFolderRoot -ProjectWiseFolder $DestinationFolderRoot…
  • How to suppress warnings when a recursive run hits the end of the items list?

    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…
  • Version 23.2.6 of PWPS_DAB Just Posted to the PowerShell Gallery

    We just posted version 23.2.6 of the #PWPS_DAB #PowerShell module for #ProjectWise to the PowerShell Gallery. To install, from a 64-bit Admin session of PowerShell v5 run: [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12…
  • The problem with search while using Get-PWUsersByMatch cmdlet

    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…
  • How check the entire User List inheritance chain (when a User List is a member of another User List and so on)?

    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…
  • Set-PWWorkAreaConnectionUserSync

    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…
  • How do I list files and subfolders of a specific folder?

    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…
  • Need to get list of folder paths of Folders with the word Voided in its name to a spreadsheet so I can later rename

    Need to get list of folder paths of Folders with the word Voided in its name to a spreadsheet so I can later rename. $SPSdrawVoidedFolders = get-pwfolders -folderpath "SUBTRAN\SUB\Drawings" -PopulatePaths | where-object -Property "Name" -Like -Value…
  • Powershell positional parameter cannot be found

    I was using the below command to create project folders from the template, but recently I am getting the following error. can you please help me fix it? New-PWLogin $outfile = Get-TablesFromXLSXWorkbook -InputFileName “\\JC\OutFile.xlsx” foreach…
  • Installing PWPS_DAB on Server (WARNING: Error: Unable to load DLL 'dmscli.dll')

    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…
  • Using a list of attribute values to return all

    Hi All. I am hoping someone can help as I am assuming this is relativity simple but beyond my knowledge at this stage. I am attempting to write a script that will search through the datasource and return all files that match an attribute value. Ie…
  • CmdLet for getting the WSG URL

    Is there a cmdlet or a specific way to get the WSG URL based on the datasource that we are running ?
  • Performance monitor - Merge SQLite databases if running from separate regions - Just Sharing

    Maybe someone has a PowerShell script to do the same thing or a neater way? (Merging multiple sqlite databases to one - Machines were from different regions with no access to a central db) For this I required sqlite3.exe from the sqlite tools bundle and…
  • Connection Client Could not be Accessed - unnown error accured

    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…
  • Get-PWDocumentsbysearch MD5 checksum

    I am using the below script to run a search of two datasources to produce an excel file of selected attributes for all file of type "DRG" This all works fine, but I also need to get the MD5 checksum for each document. I have tried the Get-PWFileChecksumreport…
  • Which cmdlet can get the Last Login Computer Name ?

    I am looking in to the data which computer the user used to login the last time. Would be great If some one reffer a commandlet or a PW db table where i can get this data.