Output mailbox displayname

Home Forums Scripting Windows Script Host Output mailbox displayname

This topic contains 1 reply, has 2 voices, and was last updated by Rems Rems 5 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Avatar

    Hi All

    I am editing a script that will to automate and query a servers exchange mailbox sizes and export the results to csv file. Below command will do this but the 1st name and surbname each occupy 1 column, 1 column for john and 1 column for Doe.

    Problem is I need to sort the csv file and have the names and mailboxes align together, I can only do this with 2 columns so I need 1 Column to contain the users full name e.g. john doe.

    The command I have presently is

    WScript.Echo objExchange_Mailbox.MailboxDisplayName

    Can I get both 1st name and surname on 1 column?

    Thanks for reading



    Re: Output mailbox displayname

    Retrieve the first name and last name of the user from AD. Use the NameTranslate object in your script to convert each ‘Display Name’ to the ‘Distinguished Name’ what is needed to bind to the user object in Active Directory with the LDAP provider. http://www.servercare.nl/Lists/Posts/Post.aspx?ID=20


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.