#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Get Folder Hierarchy

In this post, we will be creating a PowerShell function script file (.psm1) which will return an array of ProjectWise folder data including the fullpath. We will be using the following cmdlets to accomplish this task. Most of this will be done using SQL so you will need to be using a ProjectWise administrator account.… Continue reading HowTo: Get Folder Hierarchy

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

How To: Build ProjectWise Links

All of the ProjectWise related cmdlets are available using the PWPS_DAB module. At the time of this post, I am using version 23.2.6.0. Take a look at the help for each of the cmdlets to become familiar with their functionality, available parameters, etc. Get-PWCurrentDatasource Show-PWFolderBrowserDialog Get-PWDocumentsBySearch   The first thing we need to do is… Continue reading How To: Build ProjectWise Links

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Remove Empty Folders Including Current Folder

In this post, we will be demonstrating how you can remove all empty folders from a specified folder. And then remove the current or specified folder if it does not contain and sub-folders or documents. All of the ProjectWise related cmdlets are available using the PWPS_DAB module. At the time of this post, I am… Continue reading HowTo: Remove Empty Folders Including Current Folder