Office 365 - Add SMTP Address, but also change alias to be <firstinitial><lastname> 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:

    However I need to rename the alias to <firstinitial><lastname>

    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!


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

All replies