Skip to content

Get-GeoStorageQuota-Html

SharePoint Online: HTML report of geo storage quotas

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

[CmdletBinding()]
Param(
    [switch]$AllLocations
)

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

Show quotas for all geo locations

An interactive directory of PowerShell scripts.