Created
February 28, 2017 17:01
-
-
Save anonymous/41b2697b4aa8360619a7554a5f773720 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function DoesEmailAddressExist($addrname) { | |
$mbx = (Get-Recipient -Filter {emailaddresses -eq $addrname}) | |
if($mbx -ne $null) { | |
return $true; | |
} else { | |
return $false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment