Removing Primary SMTP in Active Directory
Set-ADUser accounting -Remove @{ProxyAddresses=”SMTP:accounting@cloudrain.in”}
Removing Alias smtp in Active Directory
Set-ADUser accounting -Remove @{ProxyAddresses=”smtp:accounting@cloudrain.in”}
Change Primary SMTP in Active Directory
Set-ADUser accounting -Add @{ProxyAddresses=”SMTP:accounting@cloudrain.in”}
Change or Add Alias smtp in Active Directory
Set-ADUser accounting -Add @{ProxyAddresses=”smtp:accounting@cloudrain.in”}