Publish specified Projects in #ProjectServer using #PowerShell #MSProject #PS2010 #SP2010
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.
There have been several requests for publishing projects listed in a text file, this follows on from my post / publish all projects script found below:
This script allows you to specify a list of projects in a text, then only those projects will be sent for publishing. For the purpose of this post I have a text file called projectstobepub.txt that contains a list of my test projects to be published:
The PowerShell script will need to be updated to reference the text file containing the list of projects that you wish to publish and also update the Project Server PWA URL. Comments have been added in the screen shot below to show what lines need to to be updated:
The script has my test PWA instance URL as highlighted below:
New-WebServiceProxy -uri “
The strikethrough text will need to be updated with the correct URL for your environment.
The script can be downloaded from the Script Center following the link below:
Once the script has been executed, the projects listed in the text file will be sent for publishing.
The script can either be executed on demand or set on a schedule using Windows Tasks Scheduler. Execute the script with an account that has access to the projects listed in the text file.