go behind projectwise administrator tasks with...
TRANSCRIPT
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
2 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Marty Nickel, Senior Systems ArchitectProject Delivery, Americas
3 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Agenda
What is PowerShell?
ProjectWise and PowerShell
What can you learn here?
Additional information and training
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.
5 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
Where do I start?
6 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
ProjectWise and PowerShell
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……
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
9 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated
What can we do with ProjectWise and PowerShell?
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
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
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
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
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
15 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
What can you learn while you are here
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
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
18 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated
Additional Training and Information
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?
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
21 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated