I show you how to update multi-valued properties using PowerShell in this blog post:
http://theessentialexchange.com/blogs/michael/archive/2009/04/07/handling-the-userprincipalname-in-powershell.aspx You can see the basics of how this works, with a good explanation of what is going on, in this TechNet article: http://technet.microsoft.com/en-us/library/ee156515.aspx From: Dave Wade [mailto:dave.w...@stockport.gov.uk] Sent: Friday, April 27, 2012 6:23 AM To: MS-Exchange Admin Issues Subject: RE: Update "Other Phone" in a powershell script Michael, Well I have an existing phone book database from which I get up to three numbers internal, external and "group". I am going to put the "internal" into the " phone" field, and the external and group numbers into the "OtherTelephone" field. The users are used to updating the existing phone book, and I don't have the clout to make them go "cold turkey", so for a while I will need to be able to update AD from the database at regular intervals. If all three were present the tests would be pretty simple but they are not! So for example if a user deletes the "group" number from the external directory, I need to know to delete it from AD. Sorry if this isn't very clear... Dave Wade 0161 474 5456 From: Michael B. Smith [mailto:mich...@smithcons.com]<mailto:[mailto:mich...@smithcons.com]> Sent: 26 April 2012 18:04 To: MS-Exchange Admin Issues Subject: RE: Update "Other Phone" in a powershell script Almost certainly I do. But can you be a bit more specific as to what you want or are trying to do? From: Dave Wade [mailto:dave.w...@stockport.gov.uk]<mailto:[mailto:dave.w...@stockport.gov.uk]> Sent: Thursday, April 26, 2012 12:35 PM To: MS-Exchange Admin Issues Subject: Update "Other Phone" in a powershell script Folks, I am trying to update the various "other" phone numbers in the GAL via Exchange Powershell and getting into a horrid mess comparing Multi-Values fields. Does any one have any sample code? Dave Remember to use your vote in local elections on Thursday 3rd May 2012. For more information about voting and Stockport Council elections go to http://www.stockport.gov.uk/services/councildemocracy/elections/localelections2012/ Confidentiality:- This email, its contents and any attachments are intended only for the above named. As the email may contain confidential or legally privileged information, if you are not, or suspect that you are not, the above named or the person responsible for delivery of the message to the above named, please delete or destroy the email and any attachments immediately and inform the sender of the error. --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist