SOLVED

how to get room mailbox telephones properties

Brass Contributor

Hello ,

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

 

Regards

 

 

 

 

 

1 Reply
best response confirmed by ali ali (Brass Contributor)
Solution

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

 

1 best response

Accepted Solutions
best response confirmed by ali ali (Brass Contributor)
Solution

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

 

View solution in original post