+ Post New Thread
Results 1 to 7 of 7
Enterprise Software Thread, Create Users Mailboxes From Display Name in Technical; Can anyone help me, i am trying to create users mailboxes by there display name is Exchange 2007 instead of ...
  1. #1

    Join Date
    Aug 2011
    Location
    Lincolnshire
    Posts
    88
    Thank Post
    10
    Thanked 2 Times in 1 Post
    Rep Power
    22

    Create Users Mailboxes From Display Name

    Can anyone help me, i am trying to create users mailboxes by there display name is Exchange 2007 instead of their username?
    Thanks

  2. #2
    old_n07's Avatar
    Join Date
    Jun 2012
    Location
    North Staffordshire
    Posts
    98
    Thank Post
    10
    Thanked 16 Times in 14 Posts
    Rep Power
    7
    Is it that you want the name to be Joe Bloggs in the GAL rather than joe.bloggs even though the email address is joe.bloggs@somecompany.com?

  3. #3

    Join Date
    Aug 2011
    Location
    Lincolnshire
    Posts
    88
    Thank Post
    10
    Thanked 2 Times in 1 Post
    Rep Power
    22
    At current the user mailbox is created from there username for example username is 03lastnamef so their email would be 03lastnamef@schooldomain.lincs.sch.uk but we want to change our usernames to student id's such as s0150592 but have the mail boxes created with firstname.lastname@schooldomain.lincs.sch.uk

  4. #4
    old_n07's Avatar
    Join Date
    Jun 2012
    Location
    North Staffordshire
    Posts
    98
    Thank Post
    10
    Thanked 16 Times in 14 Posts
    Rep Power
    7
    If you are using powershell to create the accounts you can do something like

    Code:
    $user = Get-ADUser some.user
    
    $name = $user.GivenName + "." + $User.Surname
    
    Enable-mailbox -Identity $user.SAMAccountName -Alias $name
    I haven't tested the above but we use something similar pulling the variable from an input page when creating staff accounts.

    This link explains the enable mailbox PS command

    You will need to check for duplicates when using first.lastname email addresses too

  5. #5
    bart21's Avatar
    Join Date
    Aug 2009
    Location
    peterborough
    Posts
    405
    Thank Post
    77
    Thanked 54 Times in 52 Posts
    Rep Power
    20
    you can create an email address policy to do this as standard, think the option would be %g.%s@yourschool.co.uk etc

    cant remember the PS off the top of my head

    nick
    Last edited by bart21; 6th July 2012 at 07:39 PM.

  6. #6

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,144
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    77
    simply create an email address policy to do this.

  7. #7


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,901
    Thank Post
    226
    Thanked 2,676 Times in 1,973 Posts
    Rep Power
    787
    As already mentioned above, create an e-mail address policy. I created ours via PowerShell because we wanted the e-mail address to be in lowercase...

    Code:
    New-EmailAddressPolicy -Name 'Default E-mail Policy' -EnabledEmailAddressTemplate 'SMTP:%rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g%s@school.county.sch.uk' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (Company -eq 'School Name'))}
    ^ E-mail address format = ForenameInitialSurname@school.county.sch.uk

SHARE:
+ Post New Thread

Similar Threads

  1. Create exchange mailboxes from csv
    By bart21 in forum Enterprise Software
    Replies: 3
    Last Post: 10th November 2011, 12:49 AM
  2. Replies: 0
    Last Post: 28th January 2011, 03:38 PM
  3. Replies: 3
    Last Post: 11th November 2010, 06:16 PM
  4. Replies: 1
    Last Post: 6th October 2008, 10:13 AM
  5. Replies: 4
    Last Post: 12th July 2006, 09:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •