Convert Mailbox to MailUser
A situation recently occurred where an entire site of contacts(300+) were converted to mailboxes. We are in the process of trying to convert them back, ideally through Exchange Shell.
I have found scripts that will do the conversion maintaining custom attributes, but not for x500 and x400.
Is there a way to export or otherwise get x500 and x400 properties in Shell?
October 2nd, 2012 1:27pm
On Tue, 2 Oct 2012 17:14:10 +0000, Gerald9859147 wrote:
>A situation recently occurred where an entire site of contacts(300+) were converted to mailboxes.
The only way for that to happen is for the Contacts to be deleted from
the AD and new User objects created in the AD. Whatever it was that
did this wasn't some random event!
>We are in the process of trying to convert them back, ideally through Exchange Shell.
You can't. You have to remove the AD User and create a mail-enabled
Contact.
>I have found scripts that will do the conversion maintaining custom attributes, but not for x500 and x400.
The X400 addresses are unnecessary unless you're using the X400 MTA
(or Exchange 2003). But if you want them, they're part of the
EmailAddresses property (or proxyAddresses if you're using ADSI). The
X500 addresses are also in that multi-valued property, uless you're
trying to preserve the current legacyExchangeDN value as a new X500
address on the new contact. In that case, use the legacyDN property.
>Is there a way to export or otherwise get x500 and x400 properties in Shell?
See above.
---
Rich Matheisen
MCSE+I, Exchange MVP
--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
October 2nd, 2012 5:43pm
Hi,
If these email addresses(x500 and x400) are still on the mailboxes, you can use this command to export them:
Get-Mailbox -ResultSize Unlimited |fl Name, @{Name=SMTP Address;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -eq SMTP} | ForEach-Object {$_.SmtpAddress}}}, @{Name=X400
Address;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -eq X400} | ForEach-Object {$_.AddressString}}}, @{Name=X500 Address;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -eq X500} | ForEach-Object {$_.AddressString}}} >
C:\Emailaddresses.txt
If these email addresses are not saved on the mailboxes now, you can follow Steve's suggestion in this thread (add x500 address):
Convert mailbox to a mail user
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/464e9b33-716c-4b42-a286-ec8f653efb92/
Thanks,
Evan Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com
Evan Liu
TechNet Community Support
October 3rd, 2012 6:08am
most important is the legacyexchangedn. If this attribute is getting the valuse then good.
Simply do the export of Proxyaddresses and you will get the x500 addresses in the csv file.
Import the x500 address using my article below :
http://msexchangeguru.com/2012/03/09/e2010-email-id-for-bulk-users/Regards, Prabhat Nigam XHG and AD Architect and DR Expert Website: msexchangeguru.com VBC: https://www.mcpvirtualbusinesscard.com/VBCServer/wizkid/card
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2012 2:43pm
How about the issue, any updates?
Thanks,
Evan Liu
TechNet Subscriber Support in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com
Evan Liu
TechNet Community Support
October 28th, 2012 5:50am