Get-MailboxSize
SYNOPSIS
Retrieve mailbox size statistics for a specified mailbox.
SYNTAX
DESCRIPTION
The `Get-MailboxSize` function retrieves mailbox size statistics for a specified mailbox. It provides details such as used size, deleted items size, and quota information. The function supports both on-premises and Exchange Online mailboxes.
EXAMPLES
EXAMPLE 1
Get-MailboxSize -Identity "[email protected]"
Retrieves size statistics for the mailbox `user@example.com`.
PARAMETERS
-Identity
The identity of the mailbox (e.g., UserPrincipalName, DistinguishedName, or SamAccountName) to retrieve size statistics for.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
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.