question

Chapter7-2723 avatar image
0 Votes"
Chapter7-2723 asked sikumars edited

Resource mailbox accounts

Hi

How can I see the list of resource (room/equip) mailbox accounts using powershell and save into excell sheet.



Regards

office-exchange-server-administrationoffice-exchange-online-itproazure-ad-domain-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

michev avatar image
1 Vote"
michev answered KaelYao-MSFT commented

Try something like this:

 Get-Mailbox -RecipientTypeDetails RoomMailbox,EquipmentMailbox | select * | Export-CSV -nti blabla.csv
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

In which location it will save?

First of all we need to connect msolservice?

0 Votes 0 ·

It will save in the current directory, you can specify a location by prepending the file name, for example "C:\temp\blabla.csv". No need to connect to MSOnline, this is an Exchange Online cmdlet. You can of course expose additional attributes from other modules, if needed.

0 Votes 0 ·

Hi,

Resources mailboxes are also listed in exchange online. If I will not connect with msonlineservice then how can I access them?

Second question: Above command will show the resources email ids and with onmicrosoft.com email ids?

0 Votes 0 ·

Hi @Chapter7-2723

If I will not connect with msonlineservice then how can I access them?

To run this command, you may need to connect to Exchange Online Powershell.
Here is a link on this topic: Connect to Exchange Online PowerShell

Second question: Above command will show the resources email ids and with onmicrosoft.com email ids?

Yes. This command would get all the properties of the resource mailboxes.
If you would like to specify properties in the output, you can modify the select * part.

For example, if you would like to only get resource mailbox's name and email address, use select Name,EmailAddresses instead of select *.

0 Votes 0 ·

Hi @Chapter7-2723

Did suggestions above help?
If you have any questions or needed further help on this issue, please feel free to post back.
If the issue has been resolved, please accept the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well.

0 Votes 0 ·