Hi,
Is there any way to find the number of email addresses set by Policy on a recipient please?
I can get the number of emailaddresses set on a recipient, but that will not correspond to the number of emailaddresses set by Policy.
Ex on a MBX:
Set-Mailbox $Identity -EmailAddressPolicyEnabled $true
Set-Mailbox $Identity -EmailAddresses @{ add = $Mail1 }
This will return the number of emailaddresses actually set on the recipient:
@((Get-Mailbox $Identity).EmailAddresses).Count
How can I get the number of emailaddresses set by Policy (before manual changes):
Thanks for your reply