Difference between revisions of "Updating ProxyAddresses, Example 5"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="powershell"> Import-Module Activedirectory GC C:\input.txt | % { Set-ADUser $_ -Add @{ProxyAddresses="SMTP:$_@mydomain.org"} } </source>")
 
(No difference)

Latest revision as of 13:08, 11 November 2014

Import-Module Activedirectory
GC C:\input.txt | % {
Set-ADUser $_ -Add @{ProxyAddresses="SMTP:$_@mydomain.org"}
}