Posts

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo:Use an Assertion to Validate/Create a Folder

In this post I will demonstrate how to use an Assertion to verify if a ProjectWise folder exists in the current datasource. If the folder does not exist, it will be created. This assumes the user running the script has permissions to create the folder. This is just a quick demonstration to yet another powerful… Continue reading HowTo:Use an Assertion to Validate/Create a Folder

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo:Create and Use Encrypted Password File

I have a simple one for this post. I will go through the process of creating a text file to contain an encrypted password. We will then retrieve the encrypted password and use it to log into a ProjectWise datasource. We will be using the following cmdlets to accomplish this task. All of the ProjectWise… Continue reading HowTo:Create and Use Encrypted Password File

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Use New-PWFoldersFromSpreadsheet

In this post, we will be using information imported from an Excel Workbook to create folders within a ProjectWise datasource. There are six required columns to be included in the Excel Workbook: FullPath, NewParentPath, Description, Storage, Environment, Workflow.  We will be using the following cmdlets to accomplish this task. All of the ProjectWise related cmdlets… Continue reading HowTo: Use New-PWFoldersFromSpreadsheet

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Confirm Disk Space Prior To Migration

In this post, we will be creating a PowerShell module script file (.psm1) which contains a function to verify if there is enough space on a local drive to proceed with a Work Area / Folder migration process.  We will provide a Work Area object, get a file size summation, compare that to the available… Continue reading HowTo: Confirm Disk Space Prior To Migration

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Archive a Work Area

In this post, we will be "Archiving" a Work Area from a ProjectWise datasource to a SQLite database. The end result of this process is a SQLite database containing nearly all of the data related to the Work Area being archived. This includes the Work Area definition(s), Environment definition(s), folders, documents, document audit trail, and… Continue reading HowTo: Archive a Work Area