SYNOPSIS
Get mailboxes based on a custom attribute and compare specified attributes.SYNTAX
DESCRIPTION
This function retrieves mailboxes based on a custom attribute and compares specified attributes. It returns a list of mailboxes along with their primary SMTP address, the custom attribute value, and whether the specified attributes match. It’s more or less a `Get-ExoMailbox with specific filterEXAMPLES
EXAMPLE 1
EXAMPLE 2
PARAMETERS
-Attribute
The custom attribute to retrieve from the mailboxes.-CheckAttributes
Optional. An array of two attributes to compare. If specified, the function checks if the values of these attributes match. Can be useful to compare two attributes for examples-ProgressAction
{{ Fill ProgressAction Description }}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
You can also useGet-AttributeMatching to compare two attributes directly in AD/Exchange/Entra ID