Skip to content

This Auto builds SharePoint 2016 (on prem) sites be looking at a SharePoint list. Can be completely hands off if you use task scheduler and save it as a module in the correct directory and give it service account details

Notifications You must be signed in to change notification settings

KingDerper/AutoSiteCr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AutoSiteCr

This Auto builds sharepoint 2016 sites be looking at a SharePoint list. Can be completely hands off if you use task scheduler and save it as a module First of ensure that all the correct infomation is in place in the modules before trying to run. This can and does use a sharepoint list as its base to look up and pull the correct info to build the sites requested.

there are lines in the module that you can remove if you don't need (like the guid for a feature)

New-FBDSiteAuto.psm line 102 Enable-SPFeature -Identity da329259-c931-423f-b149-2396bc13a2de -URL $siteURL

as well as the group name for the site-col admin.

New-FBDSiteAuto.psm line 103 new-spuser 'Domain\Groupaccount' -Web $web.url -SiteCollectionAdmin -AssignmentCollection $assign

$NewSiteURL = "https://Portal.Domain.com" (this is the portal URL) $sourceWebURL = "Targetsite" (The location for the list with the infomation) $sourceListName = "NewRequests" (The list Name)

About

This Auto builds SharePoint 2016 (on prem) sites be looking at a SharePoint list. Can be completely hands off if you use task scheduler and save it as a module in the correct directory and give it service account details

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published