#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Use Snippets

In this post, I will provide a sample code snippet to be used within the PowerShell ISE. Snippets are a great way to simplify and improve your coding within the PowerShell ISE. It ensures consistency of code within your PowerShell scripts. Create New Snippets File A snippet file can be created in the following folder.… Continue reading HowTo: Use Snippets

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Get LastLogin for ALL PW Users

Obtaining Last Login Information for ProjectWise Users with PowerShell When managing users in ProjectWise, administrators often need to audit user activity, including tracking their last login dates. This script demonstrates how to retrieve and organize this information using PowerShell and custom embedded C# code for enhanced functionality. All of the ProjectWise related cmdlets are available… Continue reading HowTo: Get LastLogin for ALL PW Users

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Get-PWOwner

In this post, we will be creating a PowerShell function which will return the owner(s) of a specified ProjectWise Group or UserList. All of the ProjectWise related cmdlets are available using the PWPS_DAB module. At the time of this post, I am using version 24.01. Take a look at the help for each of the… Continue reading HowTo: Get-PWOwner

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: FUNCTION Remove-MyPWDocumentExplicitAccessControlByDocument

In this post, I'll show a function I created for removing explicit document access control for ProjectWise document objects provided. This is different than the previous post for ALL explicit document access control. I realize there are rare occasions where explicit document access control may be required. FUNCTION Definition The following is the function wrapper… Continue reading HowTo: FUNCTION Remove-MyPWDocumentExplicitAccessControlByDocument

#PowerShell, #PowerWiseScripting, #ProjectWise, PWPS_DAB

HowTo: Add Active Directory Groups To Synchronize

In this post, we will be creating a simple PowerShell function which will add one or more Active Directory groups to a ProjectWise datasource. You will need to install the 'ActiveDirectory' PowerShell module. This is used to verify the group names to sychronize. Install-Module ActiveDirectory -Force All of the ProjectWise related cmdlets are available using… Continue reading HowTo: Add Active Directory Groups To Synchronize