Quantcast
Channel: Exchange Server 2010 Forum
Viewing all articles
Browse latest Browse all 4458

powershell get the number of emailaddresses set by Exchange policy

$
0
0

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



Viewing all articles
Browse latest Browse all 4458

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>