Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to verify email address is valid or not

$
0
0

Hi Experts,

I'm using below mentioned powershell script to check whether email id updated on one of the AD account attribute is valid or not. But the problem is for checking sharedemailbox account email validation.. I mean if shared mailbox is security group and has an email id then this command is giving error.

So using powershell how can i verify any given email id is valid or not?

$Session=New-PSSession-ConfigurationNameMicrosoft.Exchange-ConnectionUrihttp://Server001.mycompany.com/powershell

Import-PSSession$session

Get-Mailbox-IdentityNidin.CK@mycompany.com


Regards, Nidhin.CK


Viewing all articles
Browse latest Browse all 21975

Trending Articles