none
Office 365 - Add SMTP Address, but also change alias to be <firstinitial><lastname>@domain.com RRS feed

  • Question

  • Hello, complete noob here,

    I received a request to add an alias for all accounts on Office 365. 

    I found this script that does just that: https://github.com/cunninghamp/Add-SMTPAddresses.ps1

    However I need to rename the alias to <firstinitial><lastname>@domain.com

    To isolate the firstname and lastname I've used this: 

    get-mailbox -resultsize unlimited | get-user | Select-Object firstname, lastname

    my thought was to maybe integrate that into the script. Or would it be better to import a csv file somehow?

    Any help would be greatly appreciated!

    Thanks!

    • Moved by Bill_Stewart Tuesday, December 11, 2018 9:07 PM Abandoned
    Thursday, July 19, 2018 5:30 PM

All replies