The article explains about how to create a modern site in SharePoint Office 365 Programmatically. This will be helpful during the provisioning of the sites.
PowerShell Script – CSOM – Enable Disable Modern UI and Classic UI in SharePoint Office 365
In this article we can see a handy script to toggle between the Modern UI and Classic UI in SharePoint Office 365.