Updating ProxyAddresses, Example 5

From MyWiki
Jump to: navigation, search
Import-Module Activedirectory
GC C:\input.txt | % {
Set-ADUser $_ -Add @{ProxyAddresses="SMTP:$_@mydomain.org"}
}