Skip to content

Get-OrgNewsSite-Html

SharePoint Online: HTML report of org news sites

#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell

Process {
    try {
        $result = Get-SPOOrgNewsSite -ErrorAction Stop | Select-Object *
        Write-Output ($result | ConvertTo-Html -Fragment)
    }
    catch { throw }
}

This script has no configurable parameters.

An interactive directory of PowerShell scripts.