Get-MailboxSendAsRights
SYNOPSIS
Retrieve users with Send-As permissions for a specified mailbox.
SYNTAX
DESCRIPTION
The `Get-MailboxSendAsRights` function retrieves users who have Send-As permissions for a specified mailbox. It filters out inherited permissions, self-permissions, and denied permissions, and retrieves the corresponding Active Directory objects.
EXAMPLES
EXAMPLE 1
Get-MailboxSendAsRights -Identity "[email protected]"
Retrieves users with Send-As permissions for the mailbox `user@example.com`.
PARAMETERS
-Identity
The identity of the mailbox (e.g., UserPrincipalName, DistinguishedName, or SamAccountName) to retrieve Send-As 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.