October 2010
Intermediate to advanced
1008 pages
46h 16m
English
SharePoint comes with many built-in templates that you can customize to match your needs. With PowerShell, you can streamline site creation for any purpose you need. You can leverage the built-in cmdlets to create and tear up site structures.
The following sample shows how PowerShell can be used to help you automate creation of a site structure. It combines the ability to list templates and create a new site. The script first lists all available site templates. (Hidden and templates designed for root sites only are not listed.) For each site in that collection, a site will be created.
Here is the sample:

To ...
Read now
Unlock full access