Get the "Firstname"-Property for Exchange Online/Cloud accounts (via PS)

Run below command to get firstname, lastname properties:

Get-Mailbox user01 | Get-User| select firstname,lastname

enter image description here