Announcement

Collapse
No announcement yet.

export-csv

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • export-csv

    Hi I would like to export alias, firstname and lastname into a csv file. I use the syntax:
    Get-Mailbox | Select alias | export-csv emailaddress.csv

    This works fine, and i get all the alias listed in a csv file, but i would also like to have the firstname and the secondname in that csv aswell.

    I tried:
    Get-Mailbox | Select alias,firstName,lastName | export-csv emailaddress.csv

    but no luck.

    Any suggestions?
Working...
X