Skip to content

Get-CrossGeoUsers-Html

SharePoint Online: HTML report of cross-geo users

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

[CmdletBinding()]
Param(
    [bool]$ValidDataLocation
)

Process {
    try {
        $cmdArgs = @{ ErrorAction = 'Stop'; ValidDataLocation = $ValidDataLocation }
        $result = Get-SPOCrossGeoUsers @cmdArgs | Select-Object *
        Write-Output ($result | ConvertTo-Html -Fragment)
    }
    catch { throw }
}

Filter by valid data location status

An interactive directory of PowerShell scripts.