Skip to content

Show-Mailbox

SYNOPSIS

Displays mailbox properties.

SYNTAX

Show-Mailbox [[-UserObject] <PSObject[]>] [-Cached] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Retrieves Exchange Online mailbox configuration and permissions for one or more users and displays the results in the console. Includes quota settings, forwarding rules, litigation hold status, and current mailbox permissions.

Falls back to $Global:IRT_UserObjects if no -UserObject is passed. Requires an active Exchange Online connection.

EXAMPLES

EXAMPLE 1

Show-Mailbox
Displays mailbox details for the user in the global session.

EXAMPLE 2

Show-Mailbox -UserObject $User
Displays mailbox details for a specific user.

PARAMETERS

-UserObject

One or more user objects to query. Falls back to global session objects if omitted.

Type: PSObject[]
Parameter Sets: (All)
Aliases: UserObjects

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

-Cached

Use pre-cached Exchange data where available instead of making new API calls.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
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

None. Results are displayed in the console.

NOTES

Version: 1.1.0