go behind projectwise administrator tasks with...

21
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 Architect Project Delivery, Americas

Upload: others

Post on 10-Aug-2020

20 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

2 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated

Marty Nickel, Senior Systems ArchitectProject Delivery, Americas

Page 3: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

5 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated

Where do I start?

Page 6: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

6 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated

ProjectWise and PowerShell

Page 7: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

9 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated

What can we do with ProjectWise and PowerShell?

Page 10: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

15 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated

What can you learn while you are here

Page 16: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

18 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated © 2017 Bentley Systems, Incorporated

Additional Training and Information

Page 19: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

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: Go Behind ProjectWise Administrator Tasks with PowerShellfiles.midamericacadd.org/2017/Presentations/MACC2017... · 2017-09-30 · Microsoft PowerPoint - Go Behind ProjectWise Administrator

21 | WWW.BENTLEY.COM | © 2017 Bentley Systems, Incorporated