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
Tag: #PowerShell
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
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
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
HowTo: Report on Folders w/Specific Access Control
In this post I am going to show how to return a list of folders with specific access control set. A user on the Bentley Communities site was asking for some assistance with this. He wanted to determine which folders has read / write permissions set for a specific UserList. However, this could apply to… Continue reading HowTo: Report on Folders w/Specific Access Control
