Difference between revisions of "Updating ProxyAddresses, mine"
From MyWiki
(Created page with "Set-ADUser -Identity <username> -Replace @{Proxyaddresses="SMTP=g.pompson@bold.ab.uk"") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | <source lang="powershell"> | ||
Set-ADUser -Identity <username> -Replace @{Proxyaddresses="SMTP=g.pompson@bold.ab.uk" | Set-ADUser -Identity <username> -Replace @{Proxyaddresses="SMTP=g.pompson@bold.ab.uk" | ||
+ | Set-ADUser -Identity <username> -Add @{Proxyaddresses="smtp=bla01ff@bold.ab.uk" | ||
+ | </source> | ||
+ | |||
+ | <source lang="text"> | ||
+ | When you use the Add, Remove, Replace and Clear parameters together, the operations will be performed in the following order: | ||
+ | ..Remove | ||
+ | ..Add | ||
+ | ..Replace | ||
+ | </scource> |
Latest revision as of 16:16, 11 November 2014
Set-ADUser -Identity <username> -Replace @{Proxyaddresses="SMTP=g.pompson@bold.ab.uk" Set-ADUser -Identity <username> -Add @{Proxyaddresses="smtp=bla01ff@bold.ab.uk"
When you use the Add, Remove, Replace and Clear parameters together, the operations will be performed in the following order: ..Remove ..Add ..Replace </scource>