Browse By Tags

  • Create a File Type Associations Report

    The following link is a post outlining the steps to generating a report listing the File Type Associations for the three document processors. http://powerwisescripting.blog/2021/07/21/howto-create-file-type-association-report/
  • Issues with Import-PWDocuments

    I'm running into issues with Import-PWDocuments. We've been using it for some time now to mirror a server location into ProjectWise to provide select external access to a large set of information. The dataset is roughly 200K files, 50K folders, and the…
  • HowTo: Update User's Domain

    Here's a new post demonstrating how to update the domain associated with a Windows type ProjectWise user account. Hope, you find it useful. http://powerwisescripting.blog/2021/04/22/howto-update-users-domain/ Cheers, Brian
  • Powershell Set-PWDocumentState does not perform RulesEngine

    I am trying to make a new version with powershell and I want to do that with the rules engine. The problem is when I change the state with Set-PWDocumentState it doesn't use the Rules Engine. What I use to change the state is: Get-PWDocumentsBySearch…
  • HowTo: Get Document Count for Disabled User(s)

    Hello All, Please check out my latest blog post. Hope you find this helpful. https://powerwisescripting.blog/2021/04/09/howto-get-document-count-for-disabled-users/ Cheers, Brian
  • Get-PWManagedWorkspaceVariables Causes ISE to Crash

    Just tried the example (slightly modified) from get-help on the Get-PWManagedWorkspaceVariables cmdlet: $ManagedWS = Get-PWRichProjects -FolderPath 'Folder\Folder' -JustOne | Get-PWManagedWorkspaces | Get-PWManagedWorkspaceVariables and it crashes…
  • Is it possible to import cad files into ProjectWise using powershell with Enable-Autoscan For CAD files

    I am looking to import multiple files to a datasource with powershell. I want the files to be scanned for spatial data as they are being imported. In essence I am looking to automate dragging a large amount of files into a datasource to be scanned with…
  • Export all files with -AMM- in the name

    I have a PowerShell script that will export dgn files and all references from a specific PW folder to a local server/hard drive location but I have all the files with "-AMM-" in the file name manually listed in the script so I have 20 entries for each…
  • How can I get Get-PWDocumentsBySearch -Filename '/.dgn/' to be case insensitive?

    When I run these two lines I get 2 different file counts: Get-PWDocumentsBySearch -FolderPath 'my\path' -Filename '%.dgn' | Measure-Object | Select-Object Count Get-PWDocumentsBySearch -FolderPath 'my\path' -Filename '%.DGN' | Measure-Object |…
  • How To - Use the New ProjectWise Folder Object Methods

    I have added a new post to my blog. Please check it out. https://powerwisescripting.blog/2020/12/11/howto-use-new-projectwise-folder-object-methods/ Cheers, Brian
  • Get ProjectWise Folder Object using the dsqlGetSubFolders SQL function.

    I have added a new post. Please take a look. https://powerwisescripting.blog/2020/12/02/howto-get-projectwise-folders-by-guid-using-dsqlgetsubfolders/ Cheers, Brian
  • HowTo - Get Parent Work Area / Rich Project

    I have added a new blog post. Please take a look. https://powerwisescripting.blog/2020/12/01/howto-get-pwparentworkarea-function/ Cheers, Brian
  • Is it possible to get the file content of a document on PW?

    i would like to pass it into a variable so that i can then create an instance of that file on AWS. i want to do this with out downloading the file for a local folder.. i have managed to do this on most systems but im new to powershell for projectwise…
  • Update federated identity

    Hello, I need some advice/help on how to update the federated identity of our PW users. Today our users are configured in a hybrid way. Meaning that their type is logical, but they also have the Federated Identity configured. This allows them to login…
  • How To: Import Documents From Monitored Folder

    Here is a post which shows how to setup a monitored folder. When files are added to the folder, they are imported into ProjectWise. https://powerwisescripting.blog/2020/11/09/howtomonitor-folder-to-import-documents-into-projectwise/ Cheers, Bri…
  • How To Use the New-PWFoldersFromSpreadsheet Cmdlet

    I have a new post demonstating how to use the New-PWFoldersFromSpreadsheet cmdlet. https://powerwisescripting.blog/2020/10/12/howto-use-new-pwfoldersfromspreadsheet/ Cheers, Brian
  • HowTo: Create Work Area and Connected Project

    I have added a new blog post stepping through the process of creating a Work Area and an associated Connected Project. https://powerwisescripting.blog/2020/10/06/howto-create-work-area-and-connected-project/ Cheers, Brian
  • How to use the Add-PWSavedSearchOrGroup cmdlet.

    Here is a link to a new blog post stepping through the process of using the Add-PWSavedSearchOrGroup cmdlet. https://powerwisescripting.blog/2020/09/28/howto-use-add-pwsavedsearchorgroup/ Cheers, Brian
  • How to use the Copy-PWFoldersBetweenDatasources cmdlet.

    Here is a link to a new blog post stepping through the process of copying folders from one datasource to another. https://powerwisescripting.blog/2020/09/27/howto-use-copy-pwfoldersbetweendatasources/ Cheers, Brian
  • Blog Posts - Parameter Validation (Variable Validation Attributes)

    Hey everyone, I have added 2 Blog Posts explaining how to use Parameter Validation (Variable Validation Attributes and how to add ProjectWise specific Variable Validation Attributes. http://powerwisescripting.blog/2020/08/24/howto-use-parameter…
  • Update-PWUser error message

    Hello, I am trying to change users emails and identities from one domain to another but when testing this I get an error message saying the below, which seems to contradict itself. What am I doing wrong? Script: #get all user accounts with BAM email…
  • New blogpost - How To Create an Attribute Usage Report

    I have added a new blog post showing how to generate an attribute usage report. http://powerwisescripting.blog/2020/07/30/howto-generate-attribute-usage-report/ Cheers, Brian
  • Add-PWSavedSearch -- multiple "or" tabs

    hi everyone - I am trying to use Add-PWSavedSearch to create a search with multiple "OR" tabs; can that command do that? thanks! Kirk
  • How to set Datasource security for the root / top folder ?

    Hello, I need to change 250+ datasource parameters for the security of the root folder. Manually, I go to pw administrator, select my project/datasource, right-click Properties, then edit 'folder security' and 'document security' Can i do it with…