#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: FUNCTION Get-PWAuditTrailRecordsByUser

In this post, I'll show a function I created for getting all audit trail records for a provided user. This function will poplulate a datatable with the records which can be exported to a report. FUNCTION Definition The following is the function wrapper which will contain the remainder of the code. FUNCTION Get-PWAuditTrailRecordsByUser { <#… Continue reading HowTo: FUNCTION Get-PWAuditTrailRecordsByUser

#PowerWiseScripting

FUNCTION Set-PWEnvironment

In this post I will step through the Set-PWEnvironment function. This function can be used to set the environment on a specified folder and can include all sub-folders. The function contains a dynamic variable for selecting the desired Environment Name. It can also remove any attribute sheets associated with existing documents. This is required to… Continue reading FUNCTION Set-PWEnvironment

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Create Zip File

In this post, I'll show a simple way to create a zip file containing documents exported from ProjectWise. FUNCTION Definition The following is the function wrapper which will contain the remainder of the code. <# .Synopsis Export documents from ProjectWise to a zip file. .DESCRIPTION Used to export documents from ProjectWise, either by Folder ID… Continue reading HowTo: Create Zip File

#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