i need to get all mails that are not formed like following :
so far i only have the list of email out of the AD as follow :
get-aduser -Filter * -Properties UserPrincipalName, emailaddress | select UserPrincipalName, EmailAddress | Export-Csv "M:\tmp\mail_not_conform.otl"
how can i add such regexp in my ps ?
the other email adress dont have a "." to separate two informations.
thank you in advance for your help.