Remove-OrgNewsSite
SharePoint Online: Removes an org news site
#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell
Process {
try {
Remove-SPOOrgNewsSite -ErrorAction Stop
[PSCustomObject]@{ Timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"; Status = "Success"; Message = "Org news site removed" }
}
catch { throw }
}This script has no configurable parameters.