Difference between revisions of "Updating ProxyAddresses, mine"
From MyWiki
Line 1: | Line 1: | ||
+ | |||
+ | <source lang="powershell"> | ||
+ | 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"> | <source lang="text"> | ||
When you use the Add, Remove, Replace and Clear parameters together, the operations will be performed in the following order: | When you use the Add, Remove, Replace and Clear parameters together, the operations will be performed in the following order: | ||
Line 5: | Line 11: | ||
..Replace | ..Replace | ||
</scource> | </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>