Home > Paul Mather, Work > Create #ProjectServer 2010 #MSProject 2010 accounts with #PowerShell #PS2010 #SP2010 #MSOffice

Create #ProjectServer 2010 #MSProject 2010 accounts with #PowerShell #PS2010 #SP2010 #MSOffice

Paul Mather
I am a Project Server and SharePoint consultant but my main focus currently is around Project Server.
I have been working with Project Server for nearly five years since 2007 for a Microsoft Gold Certified Partner in the UK, I have also been awared with the Microsoft Community Contributor Award 2011.
I am also a certified Prince2 Practitioner.

This article has been cross posted from pwmather.wordpress.com (original article)

Quite often system administrators want a way to automate tasks, creating the Project Server Project Professional  accounts is usually one of these tasks. This blog post shows an example of creating a Project Professional 2010 account.

The script can be downloaded from the Script Center following the link below:

http://gallery.technet.microsoft.com/scriptcenter/Create-Server-2010-dfb0fbba

When creating an account, a registry key is created here:

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Profiles\<Profile Name>

image

After running the script, a new registry key will appear:

Script:

image

Before running the script you will need to update two variables, $accountName and $pwaURL with the correct values.

New Key after executing the script:

image

As you can see, the script on creates three string values, the rest get created when you launch Project Professional 2010 and connect to the new account:

New account:

image

Additional string values:

image

A simple solution for creating Project Professional 2010 accounts.

I recommend that this script is tested thoroughly on a test workstation before using within a production environment.

This script is just an example, use this script at your own risk. Remember to always backup the Registry before making any changes.

This script is probably a better approach to the Registry key export detailed in a post I wrote a while back:

http://pwmather.wordpress.com/2011/07/29/customise-project-professional-2010-installation-projectserver-ps2010-msproject-office2010/

Advertisements
Categories: Paul Mather, Work Tags:

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: