Skip to content

Get-EXOUserBriefingConfig

Exchange Online Management: Gets the Briefing email configuration for a user

#Requires -Version 5.1

[CmdletBinding()]
Param(
    [Parameter(Mandatory = $true)]
    [string]$Identity
)

Process {
    try {
        [hashtable]$cmdArgs = @{'ErrorAction' = 'Stop'; 'Identity' = $Identity}

        $result = Get-UserBriefingConfig @cmdArgs | Select-Object *
        if ($null -eq $result) {
            Write-Output "No Briefing configuration found"
            return
        }
        $result | Add-Member -NotePropertyName Timestamp -NotePropertyValue (Get-Date -Format "yyyy-MM-dd HH:mm:ss") -PassThru -Force
    }
    catch { throw }
}

The user to view the Briefing configuration for (e.g., user@domain.com)

An interactive directory of PowerShell scripts.