Skip to content

Get-FullMailboxAccessMBXGroup

SYNOPSIS

Determine the correct name for the L_MBX_.._R group for a mailbox.

SYNTAX

Get-FullMailboxAccessMBXGroup [-mailboxnaam] <String> [<CommonParameters>]

DESCRIPTION

The `Get-FullMailboxAccessMBXGroup` function determines the correct name for the L_MBX_..._R group for a mailbox, depending on the name and location of the Active Directory user associated with the mailbox. It retrieves the mailbox details and constructs the group name based on organizational and user-specific attributes.

EXAMPLES

EXAMPLE 1

Get-FullMailboxAccessMBXGroup -Mailboxnaam "Example"

Returns the L_MBX_..._R group for the mailbox `Example`.

EXAMPLE 2

"[email protected]", "[email protected]" | Get-FullMailboxAccessMBXGroup

Returns the L_MBX_..._R groups for the specified mailboxes.

PARAMETERS

-mailboxnaam

The name of the mailbox. This accepts DistinguishedName, User Principal Name, SamAccountName, or Mailbox DisplayName.

Type: String
Parameter Sets: (All)
Aliases: DN, DistinguishedName, PrimarySMTPAddress, Userprincipalname, UPN, MailboxName

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.

INPUTS

OUTPUTS

NOTES