Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Fuction to find mailusers that have two SMTP within their Proxyaddresses field

$
0
0

I have an overall script that does a Get-Mailuser that is filtered for any that do not have a legacyExchangeDN value.

I then process that array that is created using various IF statements to detect variables that are malformed.  The part I need to do now is detect a case where emailaddresses (AD attribute proxyaddresses) has two or more entries with a capital SMTP prefix.  Meaning they have two primary smtp addresses. 

I have been wracking my brain and haven't found a way to work. 

Keep in mind I am calling the function from within an IF statement. 


Jeff C


Viewing all articles
Browse latest Browse all 8719

Trending Articles



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