Posts

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

PWPS_DAB Change Log

You can obtain the change log for the PWPS_DAB module from within PowerShell. Show-PWPS_DABChangeLog Shows the latest changes. Include the -ShowAll switch parameter to see the entire log file. CONTENTS PWPS_DAB Module Location: C:\Program Files\WindowsPowerShell\Modules\PWPS_DAB\XX.XX.XX.XX\pwps_dab.dll Change Log Contents: 2020-05-20 Version 1.21.4.0 Changed cmdlets: Add-PWUsersToConnectedProjectByUserLists Fixed bug with -Filter and with explicit user lists entry. 2020-05-12… Continue reading PWPS_DAB Change Log

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

Import Export PowerShell Demo

Thanks to Dave Brumbaugh for another very informative demo video. In this video, Dave demonstrates some new functionality available with the export and import process. He works with long paths, which is a common issue. He demonstrates how the date checks are working to ensure you only export or import files that have been added… Continue reading Import Export PowerShell Demo

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo:Use New .Methods

With this latest version of the PWPS_DAB module (version 1.21.0.0) we have incorporated methods into some of the ProjectWise objects; Users, Groups, UserLists, and Workflows. Using methods allows you to get additional information related to the particular object quickly without calling other cmdlets. We will look at each of the various objects. ProjectWise Users Lets… Continue reading HowTo:Use New .Methods

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Create Work Area From Template With Specified Level of Sub-Folders

Users have been requesting methods to create new Work Areas in ProjectWise from a Template. However, they don't always want to copy all of the available sub-folders into the new Work Area. In the past, we have come up with various ways to accomplish this. Fortunately, with the Version 1.20.6.0 release of the PWPS_DAB module,… Continue reading HowTo: Create Work Area From Template With Specified Level of Sub-Folders

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Get Local Time From UTC

I recently had a request for advice on how to deal with date time data being returned when running the Get-PWUserAuditTrailRecords cmdlet.  The date time values are being returned in UTC (Coordinated Universal Time) and the user needed it in local time. We will be using the following cmdlets to accomplish this task. All of… Continue reading HowTo: Get Local Time From UTC

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Filter Documents on Dates

In this post, we will be creating a function (Get-PWDocumentsBetween to filter an array of ProjectWise Documents based on the FileUpdatedDate and / or the DocumentUpdatedDate. I realise the Get-PWDocumentsBySearchWithReturnColumns  cmdlet allows you to filter the documents returned on the  FileUpdatedDate.  However, it does not offer a method to filter on the DocumentUpdatedDate.  Hence the… Continue reading HowTo: Filter Documents on Dates