Forum Discussion

ali ali's avatar
ali ali
Brass Contributor
Feb 12, 2019
Solved

how to get room mailbox telephones properties

Hello ,

 ihave a room mailbox in attached files and i need to export theses informations ( téléphones and notes ) from powershell .how?

 

Regards

 

 

 

 

 

  • Hi,

     

    Try with something like this to get a list with all RoomMailboxes with their Home Phone number and Notes when using Exchange Online Powershell module and Azure AD module.

     

    Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'RoomMailbox')} | Get-User | fl DisplayName, HomePhone, Notes

     

    If you want to get it from Active Directory you could try.

    get-aduser -filter * -SearchBase "OU=Users,OU=Countries,DC=domain,DC=ad" -Properties DisplayName, homePhone, Info | ft DisplayName, homePhone, Info

     

  • Hi,

     

    Try with something like this to get a list with all RoomMailboxes with their Home Phone number and Notes when using Exchange Online Powershell module and Azure AD module.

     

    Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'RoomMailbox')} | Get-User | fl DisplayName, HomePhone, Notes

     

    If you want to get it from Active Directory you could try.

    get-aduser -filter * -SearchBase "OU=Users,OU=Countries,DC=domain,DC=ad" -Properties DisplayName, homePhone, Info | ft DisplayName, homePhone, Info

     

Resources