This script will create a web in SharePoint Online. This web can be created under a site or another web by simply changing the $webURL variable (if you want to create a web under your current web you will need to start from the site and set “FirstWeb/SecondWeb” to create a web under FirstWeb).
↧