Skip to main content

Get-ExMailboxOnMicrosoftAddress

SYNOPSIS

Lists Exchange Online mailboxes with an @onmicrosoft.com email address

SYNTAX

Get-ExMailboxOnMicrosoftAddress [[-Identity] <String[]>] [-ByDomain <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Retrieves Exchange Online mailboxes that have an email address ending with @onmicrosoft.com. Returns an object for each mailbox with relevant details.

EXAMPLES

EXAMPLE 1

Get-ExMailboxOnMicrosoftAddress

Returns objects containing mailbox details for those with @onmicrosoft.com addresses.

EXAMPLE 2

Get-ExMailboxOnMicrosoftAddress -ByDomain "contoso.com"

Returns mailboxes with @onmicrosoft.com addresses filtered by the specified domain.

EXAMPLE 3

Get-ExMailboxOnMicrosoftAddress -Identity "user@contoso.com"

Returns the @onmicrosoft.com address for the specified mailbox identity.

EXAMPLE 4

$mailboxes | Get-ExMailboxOnMicrosoftAddress

PARAMETERS

-Identity

{{ Fill Identity Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-ByDomain

{{ Fill ByDomain Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES