import a project via powershell
-
Tuesday, January 24, 2012 2:48 PM
I'm trying to create a project in Ms Project Server 2010 by using powershell. There are some methods provided by ms project and via using them, I would like to import my project title and enterprise custom fields (which are exported from sharepoint) but I do not know which methods I should use in my script.
Helps are welcome :)
thanks.
All Replies
-
Sunday, April 01, 2012 3:19 AMOwner
You will have to invoke PSI methods to do soBlog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page- Proposed As Answer by Christophe FiessingerMicrosoft Employee, Owner Sunday, April 01, 2012 3:19 AM
-
Monday, April 02, 2012 9:58 AM
In addition to what Christophe said, you might find this helpful:
http://archive.msdn.microsoft.com/pj14PowershellPSI
The download contains a document that explains how you can create Windows PowerShell CMDlets that expose the PSI to PowerShell.
Hope this helps...
-
Monday, April 02, 2012 10:40 AMModerator
Adding to wonderful comments of Chris & shelldor23, you can also refer to :
Brian's blog refering to same Custom Field Import :
For other eg, you can also see Jan's & Paul's blogs :
http://pwmather.wordpress.com/2012/01/
http://blogs.msdn.com/b/project_programmability/archive/2010/03/22/microsoft-project-2010-powershell-cmdlets-for-project-server-psi.aspxSapna S
- Marked As Answer by Christophe FiessingerMicrosoft Employee, Owner Monday, April 02, 2012 7:15 PM