Get-MailboxFullAccessRight
SYNOPSIS
Retrieve users with Full Access permissions for a specified mailbox.
SYNTAX
DESCRIPTION
The `Get-MailboxFullAccessRight` function retrieves users who have Full Access permissions for a specified mailbox. It checks both on-premises and Exchange Online environments and filters out inherited permissions, self-permissions, and denied permissions.
EXAMPLES
EXAMPLE 1
Get-MailboxFullAccessRight -Identity "[email protected]"
Retrieves users with Full Access permissions for the mailbox `user@example.com`.
PARAMETERS
-Identity
The identity of the mailbox (e.g., UserPrincipalName, DistinguishedName, or SamAccountName) to retrieve Full Access permissions for.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, 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.