question

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 asked emilyhua-msft edited

Export BookInPolicy users

Hi All

i have a room mailbox myroom@mydomain.com and it has 10 users to booking policy but i dont see all the users. how do i export the booking policy users to csv file or txt file.

Get-CalendarProcessing -Identity myroom@mydomain.com | fl

BookInPolicy : {/o=ExchangeLabs/ou=Exchange Administrative Group (JUIJIKOF267KOPIYU)/cn=Recipients/cn=hyuiopy3bca64a9381e51chytrew2861-user1,
/o=ExchangeLabs/ou=Exchange Administrative Group (JUIJIKOF267KOPIYU)/cn=Recipients/cn=ghyuio4484a5a411iopuhgtrewq95bf6af5-user2,
/o=ExchangeLabs/ou=Exchange Administrative Group (JUIJIKOF267KOPIYU)/cn=Recipients/cn=hjuytre45034edd9c9163236b2567894-user3,
/o=ExchangeLabs/ou=Exchange Administrative Group (JUIJIKOF267KOPIYU)/cn=Recipients/cn=4kioutrc624457da973ca9hjuyfa3049-user...}

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-connectivity
· 1
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 @RogerRoger-2394

I am writing here to confirm with you how thing going now?
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 ·

1 Answer

michev avatar image
1 Vote"
michev answered

If you need this for a single mailbox only, do something like this:

 Get-CalendarProcessing WC | select -ExpandProperty BookInPolicy | Out-File aaaaaa.txt

To get it across multiple mailboxes, you can spice it up a bit:

 Get-CalendarProcessing WC | select Identity,@{n="BookInPolicy";e={$_.BookInPolicy -join ";"}} | Export-Csv -nti blabla.csv

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.