Page 1
1 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated© 2017 Bentley Systems, Incorporated
Go Behind ProjectWise Administrator Tasks with PowerShell
Marty Nickel, Senior Systems ArchitectProject Delivery, Americas
Page 2
2 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Marty Nickel, Senior Systems ArchitectProject Delivery, Americas
Page 3
3 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Agenda
What is PowerShell?
ProjectWise and PowerShell
What can you learn here?
Additional information and training
Page 4
4 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
What is PowerShell?
• PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework and .NET Core.
Page 5
5 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Where do I start?
Page 6
6 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
ProjectWise and PowerShell
Page 7
7 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
PWPS – ProjectWise PowerShell
• Started off with Tim Poth and then an intern about five years ago
• Add-on beta install in the v8i world
• Moved onto Managed Services to help administrate multiple datasources
– 150+ datasources by 5 people globally
• Base install delivered with ProjectWise Administrator Connect Edition
• 53 delivered cmdlets
• And then people found out about it……
Page 8
8 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
PWPS_DAB
• Created and developed by Dave Brumbaugh and Brian Flaherty
• 188 cmdlets
• New home for old customizations
– Change storage area for tree
– Dave’s reports
– Export/Import
• Support is on BE Communities
• Ever expanding and driven by you the user
Page 9
9 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
What can we do with ProjectWise and PowerShell?
Page 10
10 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Access Control
• Modification– Update-PWFolderSecurity
– Update-PWFolderSecuritybyUserListSwap
– Clear-PWUserRichProjectRights
– Add-PWWorkflowState
– Import-PWAccessControlFromExcel
– Reset-PWFolderSecurity
• Reporting– Get-PWFolderSecurity
– Export-PWAccessControlToExcel
– Get-PWStates
Page 11
11 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Project Creation and Configuration
• Modification– New-PWRichProject
– New-PWRichProjectFromDataTables
– New-PWRichProjectFromSpreadsheet
• Reporting– Get-PWRichProjects
– Get-PWRichProjectReport
– Get-PWRichProjectTypes
Page 12
12 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
User Management
• Modification– New-PWUser
– New-PWGroup
– New-PWUserList
– Set-PWUserListOwners
• Reporting– Get-PWMonthlyLogins
– Get-PWMontlyLoginsDataTable
– Get-PWUsersByLastLogin
– Get-PWUsersByMatch
Page 13
13 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Connected Projects
• Cmdlets available– Add-PWConnectedProject
– Add-PWExternalUsersToConnectedProject
– Add-PWUsersToConnectedProject
– Add-PWUsersToConnectedProjectByGroup
• Came about to help with Deliverables Management
Page 14
14 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Random cmdlets
• Get-PWDSSession
• Set-PWDSSession
• Add-PWIplotDocumentsToIPSFile
• Automated TitleBlock Updates– Checkout-PWDocuments
– Checkin-PWDocumentsorFree
• New-PWInputOutputPerformanceReport
• Get-PWReferenceReportForDocuments
• Set-PWUserLicenseSource
• Convert-PWUserToFederated– Bryan Sapen converted 15k accounts in about 12
minutes
Page 15
15 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
What can you learn while you are here
Page 16
16 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Project Archiving
• Datasource to Datasource– Move projects from active to archive
– Helps follow best practice of only having active work in your datasource
• Datasource to Disk– This will be shown as a first step
– Can be used to hand data over to the owner
• Schedulable, highly configurable and you can link it to other systems like SharePoint
Page 17
17 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Project Creation
• Creating from a template
• Create new project based UserLists
• Replace access control within new project with new userlists
Page 18
18 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
Additional Training and Information
Page 19
19 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Special Interest Group (SIG)
• Second Thursday of every month
• Highly technical and meant for Power Users and ProjectWise Administrators
• PowerShell for two straight sessions– Modification
– Reporting
– What’s new
• Something else that’s technical
• Did I mention it’s technical?
Page 20
20 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
BE Communities
• Treating it as an open source
• All drops are placed there
• FAQ and Links– Microsoft Training
– Module Drops
– Requests
– Suggestions– SIG Registration
– Past recordings
– V8i installer
– Link to scripts
• Ask your questions there
• Build this as a community
Page 21
21 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated