Create a mail enabled user account with x400 address

How can I add x400 address using import-csv new-mailbox powershell script?
In csv, I added a mail2 column with the following value:
X400:c=GB\;a=xxx\;p=xxxx\;s=xxxx\;g=xxxx
and run the command;
PS P:\> Import-CSV "C:\NewU.csv" | foreach {New-Mailbox -Name $_.displayName -Alias $_.sAMAccountName -UserPrincipalName $_.userPrincipalName -samAccountName $_.sAMAccountName -OrganizationalUnit $_.OrganizationUnit -PrimarySmtpAddress $_.mail
-EmailAddresses @{add=$_.mail2} -FirstName $_.FirstName -LastName $_.LastNam
e -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) -ResetPassw
ordOnNextLogon $false}
All works fine except adding the second x400 email address;  -EmailAddresses @{add=$_.mail2}
Please help! Thanks in advance.

You are a star! Thanks Steve. For people who is having the same problem, the example contents of my table:
FirstName
Taro
LastName
Suzuki
displayName
suzuki taro 
sAMAccountName
tsuzuki
mail
[email protected]
mail2
X400:c=GB;a=xxx;p=xxxx;o=xxxxx;s=suzuki;g=taro
password
p@ssw0rd
userPrincipalName
[email protected]
OrganizationUnit
OU=Users,DC=xxxx,DC=com
department
IT
and run the above commands will create email enabled AD accounts! with additional x.400 email address.

Similar Messages

  • Provisioned user in exchange from OIM created as Mail Enabled User

    Hi,
    I have provisioned a user from OIM to exchange and the user is created as MAIL ENABLED RECEPIENT in the exchange instead of MAIL BOX ENABLED RECEPIENT .The difference between both is like the MAIL BOX ENABLED user will be having a seperate button(MAILBOX RIGHTS) in the exchange advanced tab and also he has exchange features tab.
    Is there any field in OIM which differentiates both MAIL ENABLED and MAIL BOX Enabled user.
    When i see the tabs of the MAIL ENABLED USER in the exchange i'm able to see just alias fields in one of the tabs but the MAIL BOX ENABLED user is having even the mail store field.
    When i googled for the difference between MAIL BOX enabled and MAIL Enabled i could see like the user created directly with exchange is getting MAIL BOX enabled and any third party user or different domain user wont get this MAIL BOX enabled instead he will be MAIL ENABLED
    I want the user to be MAIL BOX enabled when he is provisioned from OIM.
    Please update if any one has come across this type of issue.

    hi Rajiv,
    thanks...
    i have run the AD Organisation lookup Recon and have given the following parameters
    Lookup Search Filter:     (|(objectclass=OrganizationalUnit)(objectclass=container))
    Search Base:     DC=<domain_name2>,DC=<domain_name1>,DC=com
    Recon Type:     Update
    IT Resource Name:     ADITResource
    AttrName For Decode Value In Lookup:     distinguishedName
    AttrName For Code Value In Lookup:     distinguishedName
    Lookup Code Name:     Lookup.ADReconciliation.Organization
    Configuration Lookup:     Lookup.AD.Configuration
    But still theres no value for Organisation Lookup in process form for provisioning the user. what could be the cause for the same?
    Also i was testing if the connector is installed properly by using the testing utility. i used the following command to run it : . runADtest.sh 2
    But i got the following error.
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/thortech/xl/integration/ActiveDirectory/test/ADTestClient
    Caused by: java.lang.ClassNotFoundException: com.thortech.xl.integration.ActiveDirectory.test.ADTestClient
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: com.thortech.xl.integration.ActiveDirectory.test.ADTestClient. Program will exit.
    Please help me for this also.
    Edited by: 827805 on Feb 9, 2011 4:11 AM

  • Creating user accounts with OIDDAS and use them from the OS

    Hi,
    I have a customer that is experiencing an error creating user accounts from OIDDAS, and use that user accounts from the operating system.
    My customer is using OID/OAS4OS 10.1.4.2.0, and that version is not longer available to download, then, I will try in my own environment
    with OID/OAS4OS 10.1.4.3.0.
    And the question is the following: is supported to create user accounts with OIDDAS and expect that users can work with OAS4OS and be
    able to authenticate in the operating system?
    For the reference, SR# 7222351.993:
    Thanks,
    Luis Vivero.
    Edited by: LV in ORCL on Dec 11, 2008 6:47 AM

    Hi Jacco,
    I didn't see your post before.
    Nop, unfortulately I don't have a document with that. I just received that answer
    from development (related to the plugin for AD that is not certified, and DAS is
    not intended to work with OAS4OS).
    Anyway, about the plugin to work with AD, this is working for me; at least I tested
    it by configuring the plugin, I configured synchronization, the mapping file, I did
    the bootstrap, and the accounts that were bootstraped now shows the OS attributes
    on DAS.
    Regards,
    Luis Vivero.

  • New iMac 21.5". How can I set up a new user account with access to all the files of the original user account?

    Running Mavericks on a 2013 iMac 21.5". I want to set up a second user account with different settings that meet the requirements of specific software. I need the files to be accessible by both users. I have made both the main and secondary accounts administrators. I have also enabled file sharing for both. Neither account can see the other's files in Finder.
    How can I make all files accessible to both accounts? I read that administrator accounts automatically can see all files on the computer, but it is not working out that way. I have restarted the computer, to no avail.

    Comcast only offers POP accounts, and one way to set up the account and enter all the settings before it connects to the mail server, might be to do it Offline:
    https://support.mozilla.org/en-US/questions/991539#answer-547878
    The server settings are given [http://customer.comcast.com/help-and-support/internet/setting-up-thunderbird/ here], but the method is for Online account setup.

  • Creating a read-only user account

    I am trying to create a read-only user account. Reason being,
    when our users may be able to use MS Access to pull information
    and modify changes (if possible). I was told there is a way to
    do this. Help?

    I'm connecting using ODBC with a user account that I created.
    This dummy account will be available to approx 15 users so they
    can generate reports using Crystal. But, if there is someone
    that wants to generate queries using MS Access, they can still
    modify the data. So, how do I create only select statements to
    disallow users from using MS Access to link to the oracle
    database and change data?

  • Cannot create or rename a user account in Windows 7 HP x64

    Hi. I have Windows 7 Home Premium x64 with one single account with Administrator rights (it's been set up in the computer shop).
    It turned out that I cannot create a new user account with it. I try to create one from Control Panel / User accounts menu / Manage other user account. It asks me to enter a name of the account and its kind, after it is done and Create button is pressed
    it returns to the User accounts list, which stays blanc (no account created). No error messages or warnings.
    I cannot even just change the name of my exsisting account, it looks almost the same: it asks for a new name and when the the name is typed in and Rename button is pressed it returns to the previuos screen where I can see that the name remains unrenamed.
    The only thing I can do with my account is to change its image for Logon screen. :)
    Please help me to fix this issue.

    Hi....  I have the same problem with my laptop and my netbook. Same OS in my laptop and Win7 Starter in my netbook.
    The only way I found to address this issue was as following:
    - Start your computer in 'Safe Mode'
    - Logon as 'Administrator' (preferred, but also works with all local users)
    - Go to control panel and 'User Accounts'
    - Create the new user with administrator rights
    - Then close Admin session
    - Logon as the new user
    - Once logged on, and desktop and icons shows up for you, is done.
    - Then, close new user session or restart your computer normally
    This started to happen to me after a Windows 7 update for 'Service Pack 1'.
    It seems to be an error in this update because the normal process to create a new user only creates the name in the list but no folders and other files necessary to start sessions. The profile is not fully created by the normal process. Then you need to
    start the process in SAFE MODE, because it only loads the very basic functions for the OS, no drivers, no services, no antivirus....
    Hope this can help...!
    Thanks.
    A.V.

  • Previously i set up iphone 5 same user (account) with my brother.. Now i want to set up as my own User... but try to Erase all content n settings and plug in itunes to set up as a new iphone but it's keep sync with my brother phone ... help please ?

    previously i set up iphone 5 same user (account) with my brother.. Now i want to set up as my own User... but try to Erase all content n settings and plug in itunes to set up as a new iphone but it's keep sync with my brother phone ... help please ?

    I recommend that you
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Use the new ID on her iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    and Settings>iCloud
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.

  • Bulk SIP-Enable User Mailboxes with Parameters

    Currently, we have 400+ users on the network. Our requirement is to bulk sip enable in Lync 2013 and also add them to the policies (all staff have the same policies)..
    Have a CSV output with Display Name / Alias (Exported all User Mailboxes) and need to SIP enable the accounts with the below policies:
    Assign users to pool 'pr-pool'
    Telephony 'PC-to-PC only'
    Conferencing Policy 'Allow audio and video'
    External Access Policy 'User'
    I am testing my patience with powershell.. Need some help!!

    Take a look at Kenneth Peet's Lync Bulk User Enablement Tool: http://gallery.technet.microsoft.com/office/Lync-Bulk-User-Enablement-b60d1990
     or 
    http://gallery.technet.microsoft.com/office/Script-to-Enable-Users-and-f56306ed
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Mailbox enabled user to mail enabled user

    As part of a migration I have a requirement to change mailbox enable users to mail enable users on exchange 2003. This would be to be able to drop the mailbox but keep all the mail related attributes including the target address. This will allow us to start
    decommissioning servers and storage as the migration proceeds.
    Stephane
    Stephane Favre

    Hi,
    Please refer to the following article:
    Converting a Mailbox to a MailUser (and preserving your custom attributes)
    What do you want the mail-user’s external email address to be?
    The script takes the user’s mailbox alias and then appends @domain.com.  You may wish to modify this with whatever their new external address has become.
    hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • HT2534 My friend created me an itunes store account with his credit card , his credit card is about to expire and they are asking me to re-enter the credit card and security card number .... I don't have these numbers ... How can i create new itunes accou

    My friend created me an itunes store account with his credit card , his credit card is about to expire and they are asking me to re-enter the credit card and security card number .... I don't have these numbers ... How can i create new itunes account without credit card?????

    Why do you need to create a new account?
    Just change the payment method.
    http://support.apple.com/kb/ht1918

  • How can i create a new Adminstrator user account ?

    How can i create a new Adminstrator user account ?

    Go to the System Preferences>Users.
    Click the lock if and enter your password, if necessary.
    Then click on the "+" symbol below the accounts list.
    From the "New Account" menu, select"Administrator" and fill in the rest of the information.
    And finally click the "Create Account" button.
    Done. A new Administrator user account.

  • I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now.

    I created a new administrator USER account. I deleted the original one but the process never ends. It's been 3 days now. And I can't close preferences window or turn off the computer.
    It's stays in the "deleting" but I can't cancel it or close the window.
    What can I do?

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • In my 16 gb iPhone 5, Mail has used up 5,6 gbs of memory.  Trash is empty and there are a few mails in my accounts with no attachments.  What's wrong?

    In my 16 gb iPhone 5, Mail has used up 5,6 gbs of memory (and is increasing).  Trash is empty and there are a few mails in my accounts with no attachments.  What's wrong?

    These are Apple's tips on this:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see the battery icon in the upper-right corner of the screen. Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.

  • I have windows vista user account with administrator privilege. I am unable to update mozilla firefox to the latest version. It is saying "do not have required privileges". I already uninstalled the previous version :(

    I am unable to update mozilla firefox. I have user account with administrator privilege.

    Try to run the installer as Administrator via the right-click context menu (Run as Administrator).

  • User Account with different languages

    Dear Friends,
    I need to have one user account with a different langauge, i.e. I need that when a partucular user log-in, the system swithch to spanish, and when one other user log-in the system goes back to english.
    Is ti possible? and How?
    Thanks for your help.
    Federico.

    is GREEK just not a supported language
    You can see exactly what languages are supported in the OS X tech specs:
    http://www.apple.com/macosx/techspecs/
    In addition, the Tiger that comes with Intel Macs has Russian.
    A Greek add-on is only available via Rainbow and 3rd party patches. One is mentioned here, I don't know if it works right or causes problems.
    http://betabug.ch/blogs/ch-athens/124

Maybe you are looking for