How to modify a Standard template site with Sharepoint management shell

Amagoia Cormenzana 0 Reputation points
2025-01-30T10:51:44.8166667+00:00

Hello

I need to create a new custom organization template from a site created with the standard project management template. I use a SharePoint shell and generate an organization template but when I use it to create a new site the changes are not passed through.

For this reason I am thinking of modifying the original project management template, adding 3 lists by script.

Is this possible? And how could I program with the SharePoint shell?

Thanks

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,241 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,780 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 27,966 Reputation points Microsoft Vendor
    2025-01-31T02:36:28.6266667+00:00

    Hi @Amagoia Cormenzana ,

    Modifying a standard template site in SharePoint using the SharePoint Management Shell is not directly supported.

    As a workaround, you can create a new custom organization template from a site created using a standard project management template, add 3 lists to it, and save it as a template.

    When you save a site as a template, any lists and libraries, look and feel, and other objects such as calendars, etc., you have added are also saved, optionally with content.

    Please refer to the following articles (The Save as Template feature is hidden by default.):

    https://www.sharepointdiary.com/2017/06/sharepoint-online-how-to-save-site-as-template.html

    https://www.sharepointdiary.com/2017/06/sharepoint-online-save-site-as-template-missing.html

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.