Invoke-SPOSiteSwap is a SharePoint Online PowerShell cmdlet that can be used to swap out your old classic SharePoint root site in your Office 365 tenant and replace it with a shiny new Modern Communication Site (preferable), Modern Team Site or Classic team Site.
