I wanted to introduce a loosely defined "EAP" with a new feature that is coming out in the ProjectWise Connect Edition called ProjectWise PowerShell Extensions. What is ProjectWise PowerShell Extensions you ask? Well what it is is the ability to do certain functions inside of ProjectWise through PowerShell Commands. You can do such things as:
- Create users from a csv file
- Update datasource settings
- Create a datasource
- Update user settings
- Pull out user data to a csv file like last login date (and even email it to yourself)
- List connected users
- Create Storage Areas
The install for this is found here: https://bentley.sharefile.com/d-se6aef33cb1c45418 and is to be used on SS4 and above, preferably 08.11.11.559+
The install for the PowerShell scripts are part of the ProjectWise Design Integration CONNECT Edition setups. Please download ProjectWise Design Integration CONNECT edition from the Software Fulfilment center
After you install PW Administrator CONNECT Edition, the scripts can be found under: C:\Program Files (x86)\Bentley\ProjectWise\bin\PowerShell\pwps. One note, since it gets installed into the x86 directory you need to use the 32 bit PowerShell to do your scripting in.
Once you install the ProjectWise PowerShell Extensions the examples are located here: C:\Program Files (x86)\Bentley\ProjectWise\bin\PowerShell\pwps\Examples and in those files you can see the various things that you can do with PowerShell. If you are unsure of what you can do a helpful command in PowerShell is "get-help". So you will enter a command like "get-help Set-PWDatasourceSetting" to see the various commands that are available to you.
With this early release we are setting two easy rules:
- All support goes through the communities, there will be no phone support for this
- Share your scripts!
The idea behind this is that as a community we can share what we are doing, Bentley and Users, so that everyone can benefit from what we come up with. Right now Managed Services is using this on a day to day basis for things like adding users and reporting, so it is currently being used in the real world.
With that being said, let's have fun and see what we can come up with!