Project creation and renaming

I want to copy a template folder and create 30 projects and rename the projects and the cad files present inside the project from a list of project names in an excel spreadsheet. Can anyone help with a PowerShell command?

Parents
  • Joseph,

    What have you tried so far?

    You should be able to do much of what you want with New-PWRichProjectsFromSpreadsheet.  Take a look at the help for how to create the spreadsheet (formatting), as well as the examples.

    You might want to look at the other Cmdlets that work with "Rich Projects":

    RichProject Cmdlets

    If you actually mean that you want to copy a template for each project, and then rename it, and some of the files in the template, that will take a bit of scripting, and that would means that you have to determine the steps needed to get the name of each project, create the project from a template using that name.  Then search for the documents that you want to rename in that project's folder structure, etc.

    Dan Williams
    Solution Consultant
    Bentley Systems, Incorporated
    Portland, OR, USA (Pacific Time UTC-08:00)

Reply
  • Joseph,

    What have you tried so far?

    You should be able to do much of what you want with New-PWRichProjectsFromSpreadsheet.  Take a look at the help for how to create the spreadsheet (formatting), as well as the examples.

    You might want to look at the other Cmdlets that work with "Rich Projects":

    RichProject Cmdlets

    If you actually mean that you want to copy a template for each project, and then rename it, and some of the files in the template, that will take a bit of scripting, and that would means that you have to determine the steps needed to get the name of each project, create the project from a template using that name.  Then search for the documents that you want to rename in that project's folder structure, etc.

    Dan Williams
    Solution Consultant
    Bentley Systems, Incorporated
    Portland, OR, USA (Pacific Time UTC-08:00)

Children